#2E2989#2E2989
#2E2989 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.153 H 277.5°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2989 |
|---|---|
| RGB | rgb(46, 41, 137) |
| HSL | hsl(243, 54%, 35%) |
| HSV | hsv(243, 70%, 54%) |
| CMYK | cmyk(66.4%, 70.1%, 0%, 46.3%) |
| CIE-LAB | lab(23.58, 33.17, -52.72) |
| CIE-LCH | lch(23.58, 62.29, 302.17°) |
| OKLab | oklab(35.52% 0.02 -0.1521) |
| OKLCH | oklch(35.52% 0.153 277.5) |
| XYZ | xyz(6.4335, 3.9723, 24.0898) |
| Luminance | 0.0397 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.00
Midnight Blue
#191970
ΔE00 5.43
Sapphire (survey)
#2138AB
ΔE00 6.40
Darkslateblue
#483D8B
ΔE00 6.49
Indigo Blue
#3A18B1
ΔE00 6.99
Blueberry
#464196
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2989 #848929
analogous
#295489 #2E2989 #5E2989
triadic
#2E2989 #892E29 #29892E
tetradic
#2E2989 #892954 #848929 #29895E
square
#2E2989 #892954 #848929 #29895E
split-complementary
#2E2989 #895E29 #548929
monochromatic
#0E0D2B #1E1B5A #2E2989 #3E37B8 #645ECF
Accessibility & contrast
On white
11.70
#2E2989 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2E2989 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2989
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2989 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2989 | 1.00 | 11.70 | 1.79 | 11.70 |
| #FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2e2989; /* rgb */ color: rgb(46, 41, 137); /* oklch */ color: oklch(35.5% 0.153 277.5);
Tailwind
colors: {
custom: {
50: '#7363ac',
500: '#2e2989',
950: '#000000',
},
}SCSS
$custom: #2e2989; $custom-light: #7363ac; $custom-dark: #000000;
JSON
{
"hex": "#2e2989",
"rgb": {
"r": 46,
"g": 41,
"b": 137
},
"hsl": {
"h": 243.125,
"s": 53.933,
"l": 34.902
},
"oklch": {
"l": 0.35518,
"c": 0.15343,
"h": 277.5
},
"luminance": 0.03973
}Semantic roles & 50–950 ramp
primary
#2E2989
secondary
#B0B45A
accent
#DD4AD6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F