Maroon Colors  ·  Color Library

Palettes / Colors / #282EE2

#282EE2 — Blue

#282EE2 is a blue color we call 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 #282EE2 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.

#282EE2 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 #E2DB28; it also sits naturally between #288BE2 and #7E28E2. In the palettes below you can see it working alongside real color combinations from our collection.

#282EE2 · RGB 40, 46, 226

Download PNG swatch SVG

Color values

HEX#282EE2
RGB40, 46, 226
HSL238°, 76%, 52%
HSV238°, 82%, 89%
CMYK82%, 80%, 0%, 11%
XYZ15.58, 7.90, 72.65
Yxy7.90, 0.1621, 0.0821
CIE-Lab33.77, 59.13, -88.97
Hunter Lab28.10, 52.11, -140.35

RGB & CMYK percentages

Red 16% · Green 18% · Blue 89%

Cyan 82% · Magenta 80% · Yellow 0% · Key 11%

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

Previews

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

CSS code for #282EE2

.text { color: #282EE2; }
.background { background-color: #282EE2; }
.border { border: 3px solid #282EE2; }
.text-rgb { color: rgb(40, 46, 226); }
.text-hsl { color: hsl(238, 76%, 52%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #282EE2; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(40, 46, 226, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #282EE2; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(40, 46, 226, 0.8); }

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

Shades of #282EE2

#1D23D3#1A1FBC#171CAB#141894#11157E#0E1167#0B0D51#090A3F#060728#020312

Tints of #282EE2

#3A3FE4#5055E7#6266EA#787CED#8A8EEF#9C9FF2#B3B5F5#C5C6F7#DBDCFA#EDEEFD

Tones of #282EE2

#353AD4#4347C7#5053B9#5C5FAD#6A6BA0#777892

Color harmonies

Complementary — #E2DB28:

Analogous:

Triadic:

Contrast & accessibility

Against white text8.14:1 AAA
Against black text2.58:1 Fails

Best text color on #282EE2: #FFFFFF.

Semi-transparent (opacity) text on #282EE2

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 #282EE2: ·

How #282EE2 looks with color blindness

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

Protanopia · #2B2BB6Deuteranopia · #2A2AACTritanopia · #28948D

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 #282EE2 rather than the exact color:

Amber Ruby Voyage
#13A1E9 · #252CE8 · #9625E2 · #C51B9F
Amber Tempest
#499AE1 · #2835E2 · #7D3DDF · #D241EA
Palette 2f2fe4
#2F2FE4 · #162E93 · #1A1953 · #080616
Vintage Ruby Canyon
#1F9016 · #212FDE · #DF2836 · #AEE8A8
Frozen Ruby Dusk
#B11E1E · #1EB21E · #2726DB · #F2D2D2
Dusty Horizon
#3595DD · #1D2FE0 · #A573F2 · #D835F0

Similar colors

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

#252CE8#2835E2#2F2FE4#212FDE#2726DB#1D2FE0#2F26E7#1E33E7#1B26E1#213BDB#3534EA#362FD9

Browse neighbouring colors

← #282EE1  ·  #282EE3 →

Frequently asked questions

What color is #282EE2?

#282EE2 is Blue, a blue color (RGB 40, 46, 226). Its closest standard named color is RoyalBlue.

What is the RGB and HSL of #282EE2?

#282EE2 is RGB 40, 46, 226 — HSL 238°, 76%, 52% — CMYK 82%, 80%, 0%, 11%.

What colors go with #282EE2?

Its complement is #E2DB28; analogous partners are #288BE2 and #7E28E2. It also appears in 6+ palettes in our collection.

Can I use #282EE2 for text?

White text on #282EE2 has a contrast ratio of 8.14:1 (passes WCAG AA); black text gives 2.58:1.