#2E2EA4#2E2EA4
#2E2EA4 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.183 H 273.9°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2EA4 |
|---|---|
| RGB | rgb(46, 46, 164) |
| HSL | hsl(240, 56%, 41%) |
| HSV | hsv(240, 72%, 64%) |
| CMYK | cmyk(72%, 72%, 0%, 35.7%) |
| CIE-LAB | lab(27.34, 39.42, -63.14) |
| CIE-LCH | lch(27.34, 74.43, 301.98°) |
| OKLab | oklab(39.02% 0.0124 -0.1826) |
| OKLCH | oklch(39.02% 0.183 273.9) |
| XYZ | xyz(8.8023, 5.2143, 35.6573) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.38
Indigo Blue
#3A18B1
ΔE00 5.02
Royal
#0C1793
ΔE00 6.03
Blueberry
#464196
ΔE00 6.46
Ocean Blue
#4F42B5
ΔE00 6.75
True Blue
#010FCC
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2EA4 #A4A42E
analogous
#2E69A4 #2E2EA4 #692EA4
triadic
#2E2EA4 #A42E2E #2EA42E
tetradic
#2E2EA4 #A42E69 #A4A42E #2EA469
square
#2E2EA4 #A42E69 #A4A42E #2EA469
split-complementary
#2E2EA4 #A4692E #69A42E
monochromatic
#131344 #212174 #2E2EA4 #4545CB #7474D8
Accessibility & contrast
On white
10.28
#2E2EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2E2EA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2EA4
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2EA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2EA4 | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2e2ea4; /* rgb */ color: rgb(46, 46, 164); /* oklch */ color: oklch(39.0% 0.183 273.9);
Tailwind
colors: {
custom: {
50: '#7968c0',
500: '#2e2ea4',
950: '#000000',
},
}SCSS
$custom: #2e2ea4; $custom-light: #7968c0; $custom-dark: #000000;
JSON
{
"hex": "#2e2ea4",
"rgb": {
"r": 46,
"g": 46,
"b": 164
},
"hsl": {
"h": 240,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.39019,
"c": 0.18299,
"h": 273.9
},
"luminance": 0.05215
}Semantic roles & 50–950 ramp
primary
#2E2EA4
secondary
#C0C06E
accent
#DF48DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81