#2E2EA8#2E2EA8
#2E2EA8 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.188 H 273.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2EA8 |
|---|---|
| RGB | rgb(46, 46, 168) |
| HSL | hsl(240, 57%, 42%) |
| HSV | hsv(240, 73%, 66%) |
| CMYK | cmyk(72.6%, 72.6%, 0%, 34.1%) |
| CIE-LAB | lab(27.74, 40.78, -64.89) |
| CIE-LCH | lch(27.74, 76.64, 302.15°) |
| OKLab | oklab(39.43% 0.0118 -0.1877) |
| OKLCH | oklch(39.43% 0.188 273.6) |
| XYZ | xyz(9.1692, 5.3611, 37.5898) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.32
Indigo Blue
#3A18B1
ΔE00 4.79
Royal
#0C1793
ΔE00 6.26
True Blue
#010FCC
ΔE00 6.43
Ocean Blue
#4F42B5
ΔE00 6.54
Blueberry
#464196
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2EA8 #A8A82E
analogous
#2E6BA8 #2E2EA8 #6B2EA8
triadic
#2E2EA8 #A82E2E #2EA82E
tetradic
#2E2EA8 #A82E6B #A8A82E #2EA86B
square
#2E2EA8 #A82E6B #A8A82E #2EA86B
split-complementary
#2E2EA8 #A86B2E #6BA82E
monochromatic
#141448 #212178 #2E2EA8 #4747CD #7777DA
Accessibility & contrast
On white
10.13
#2E2EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2E2EA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2EA8
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2EA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2EA8 | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2e2ea8; /* rgb */ color: rgb(46, 46, 168); /* oklch */ color: oklch(39.4% 0.188 273.6);
Tailwind
colors: {
custom: {
50: '#7a68c3',
500: '#2e2ea8',
950: '#000000',
},
}SCSS
$custom: #2e2ea8; $custom-light: #7a68c3; $custom-dark: #000000;
JSON
{
"hex": "#2e2ea8",
"rgb": {
"r": 46,
"g": 46,
"b": 168
},
"hsl": {
"h": 240,
"s": 57.009,
"l": 41.961
},
"oklch": {
"l": 0.39428,
"c": 0.18805,
"h": 273.6
},
"luminance": 0.05362
}Semantic roles & 50–950 ramp
primary
#2E2EA8
secondary
#C2C270
accent
#E048E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82