#2E2187#2E2187
#2E2187 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.160 H 279.4°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2187 |
|---|---|
| RGB | rgb(46, 33, 135) |
| HSL | hsl(248, 61%, 33%) |
| HSV | hsv(248, 76%, 53%) |
| CMYK | cmyk(65.9%, 75.6%, 0%, 47.1%) |
| CIE-LAB | lab(21.64, 37.30, -54.65) |
| CIE-LCH | lch(21.64, 66.17, 304.31°) |
| OKLab | oklab(34.07% 0.0262 -0.1577) |
| OKLCH | oklch(34.07% 0.16 279.4) |
| XYZ | xyz(6.0423, 3.4173, 23.2582) |
| Luminance | 0.0342 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.71
Midnight Blue
#191970
ΔE00 4.42
Indigo (survey)
#380282
ΔE00 5.44
Cobalt Blue
#030AA7
ΔE00 6.07
Darkblue
#00008B
ΔE00 6.31
Indigo Blue
#3A18B1
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2187 #7A8721
analogous
#214787 #2E2187 #612187
triadic
#2E2187 #872E21 #21872E
tetradic
#2E2187 #872147 #7A8721 #218761
square
#2E2187 #872147 #7A8721 #218761
split-complementary
#2E2187 #876121 #478721
monochromatic
#0C0925 #1D1556 #2E2187 #3F2DB8 #604FD4
Accessibility & contrast
On white
12.47
#2E2187 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#2E2187 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2187
12.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2187 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2187 | 1.00 | 12.47 | 1.68 | 12.47 |
| #FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388A
Deuteranopia (green-blind)
#003085
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2e2187; /* rgb */ color: rgb(46, 33, 135); /* oklch */ color: oklch(34.1% 0.160 279.4);
Tailwind
colors: {
custom: {
50: '#735eab',
500: '#2e2187',
950: '#000000',
},
}SCSS
$custom: #2e2187; $custom-light: #735eab; $custom-dark: #000000;
JSON
{
"hex": "#2e2187",
"rgb": {
"r": 46,
"g": 33,
"b": 135
},
"hsl": {
"h": 247.647,
"s": 60.714,
"l": 32.941
},
"oklch": {
"l": 0.34074,
"c": 0.15991,
"h": 279.4
},
"luminance": 0.03418
}Semantic roles & 50–950 ramp
primary
#2E2187
secondary
#AAB74D
accent
#E444CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F