Maroon Colors  ·  Color Library

Palettes / Colors / #282FEB

#282FEB — Vivid Blue

#282FEB is a blue color we call Vivid Blue, closest to the named color RoyalBlue (#4169E1). It belongs to the blue family.

Color name

Closest CSS keyword: royalblue (#4169E1) — not an exact match. CSS royalblue gives you #4169E1, a different color; use #282FEB when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#282FEB is a cool blue color associated with trust, calm and professionalism. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #EBE528; it also sits naturally between #2890EB and #8328EB. In the palettes below you can see it working alongside real color combinations from our collection.

#282FEB · RGB 40, 47, 235

Download PNG swatch SVG

Color values

HEX#282FEB
RGB40, 47, 235
HSL238°, 83%, 54%
HSV238°, 83%, 92%
CMYK83%, 80%, 0%, 8%
XYZ16.89, 8.48, 79.34
Yxy8.48, 0.1613, 0.0810
CIE-Lab34.97, 61.40, -92.10
Hunter Lab29.12, 54.95, -148.21

RGB & CMYK percentages

Red 16% · Green 18% · Blue 92%

Cyan 83% · Magenta 80% · Yellow 0% · Key 8%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #282FEB on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #282FEB on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #282FEB

.text { color: #282FEB; }
.background { background-color: #282FEB; }
.border { border: 3px solid #282FEB; }
.text-rgb { color: rgb(40, 47, 235); }
.text-hsl { color: hsl(238, 83%, 54%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #282FEB; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(40, 47, 235, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #282FEB; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(40, 47, 235, 0.8); }

HTML: <p style="color:#282FEB">Text here</p> · <div style="background-color:#282FEB">Div content here</div>

Shades of #282FEB

#151CE5#1319CD#1116B6#0F149F#0D1187#0A0E70#080B59#060841#04052A#020213

Tints of #282FEB

#3B41ED#4E53EF#656AF1#787CF2#8A8EF4#9DA0F6#B0B2F8#C7C9FA#DADBFC#ECEDFD

Tones of #282FEB

#363CDD#4449CF#5356C1#5F62B4#6E6FA6#7C7D98

Color harmonies

Complementary — #EBE528:

Analogous:

Triadic:

Contrast & accessibility

Against white text7.79:1 AAA
Against black text2.70:1 Fails

Best text color on #282FEB: #FFFFFF.

Semi-transparent (opacity) text on #282FEB

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #282FEB: ·

How #282FEB looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #2B2BBEDeuteranopia · #2B2AB3Tritanopia · #289A92

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind indigo 600 · #4F46E5Tailwind blue 600 · #2563EBMaterial Indigo 500 · #3F51B5

Palettes with a similar color

These palettes use a close neighbour of #282FEB rather than the exact color:

Amber Ruby Voyage
#13A1E9 · #252CE8 · #9625E2 · #C51B9F
Palette 2f2fe4
#2F2FE4 · #162E93 · #1A1953 · #080616
Amber Tempest
#499AE1 · #2835E2 · #7D3DDF · #D241EA
Golden Whisper
#AC9C12 · #D5EB46 · #1E33E7 · #CBC8F6
Velvet Mirage
#58D7EA · #175CC0 · #2F26E7 · #A85CF1
Smoky Monsoon
#152BC9 · #3534EA · #E1C817 · #F4F4C0

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#252CE8#2F2FE4#2835E2#1E33E7#2F26E7#3534EA#212FDE#2B28F8#1D2FE0#2726DB#1B26E1#262DFE

Browse neighbouring colors

← #282FEA  ·  #282FEC →

Frequently asked questions

What color is #282FEB?

#282FEB is Vivid Blue, a blue color (RGB 40, 47, 235). Its closest standard named color is RoyalBlue.

What is the RGB and HSL of #282FEB?

#282FEB is RGB 40, 47, 235 — HSL 238°, 83%, 54% — CMYK 83%, 80%, 0%, 8%.

What colors go with #282FEB?

Its complement is #EBE528; analogous partners are #2890EB and #8328EB. It also appears in 6+ palettes in our collection.

Can I use #282FEB for text?

White text on #282FEB has a contrast ratio of 7.79:1 (passes WCAG AA); black text gives 2.70:1.