#2E2EA9#2E2EA9
#2E2EA9 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.189 H 273.5°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2EA9 |
|---|---|
| RGB | rgb(46, 46, 169) |
| HSL | hsl(240, 57%, 42%) |
| HSV | hsv(240, 73%, 66%) |
| CMYK | cmyk(72.8%, 72.8%, 0%, 33.7%) |
| CIE-LAB | lab(27.84, 41.12, -65.32) |
| CIE-LCH | lch(27.84, 77.19, 302.19°) |
| OKLab | oklab(39.53% 0.0116 -0.1889) |
| OKLCH | oklch(39.53% 0.189 273.5) |
| XYZ | xyz(9.2627, 5.3985, 38.0823) |
| Luminance | 0.0540 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.32
Indigo Blue
#3A18B1
ΔE00 4.74
Royal
#0C1793
ΔE00 6.33
True Blue
#010FCC
ΔE00 6.33
Ocean Blue
#4F42B5
ΔE00 6.49
Blueberry
#464196
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2EA9 #A9A92E
analogous
#2E6CA9 #2E2EA9 #6C2EA9
triadic
#2E2EA9 #A92E2E #2EA92E
tetradic
#2E2EA9 #A92E6C #A9A92E #2EA96C
square
#2E2EA9 #A92E6C #A9A92E #2EA96C
split-complementary
#2E2EA9 #A96C2E #6CA92E
monochromatic
#141449 #212179 #2E2EA9 #4747CD #7777DA
Accessibility & contrast
On white
10.10
#2E2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2E2EA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2EA9
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2EA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2EA9 | 1.00 | 10.10 | 2.08 | 10.10 |
| #FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2e2ea9; /* rgb */ color: rgb(46, 46, 169); /* oklch */ color: oklch(39.5% 0.189 273.5);
Tailwind
colors: {
custom: {
50: '#7a68c4',
500: '#2e2ea9',
950: '#000000',
},
}SCSS
$custom: #2e2ea9; $custom-light: #7a68c4; $custom-dark: #000000;
JSON
{
"hex": "#2e2ea9",
"rgb": {
"r": 46,
"g": 46,
"b": 169
},
"hsl": {
"h": 240,
"s": 57.209,
"l": 42.157
},
"oklch": {
"l": 0.39531,
"c": 0.18931,
"h": 273.5
},
"luminance": 0.05399
}Semantic roles & 50–950 ramp
primary
#2E2EA9
secondary
#C2C271
accent
#E047E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82