#2E2188#2E2188
#2E2188 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.161 H 279.3°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2188 |
|---|---|
| RGB | rgb(46, 33, 136) |
| HSL | hsl(248, 61%, 33%) |
| HSV | hsv(248, 76%, 53%) |
| CMYK | cmyk(66.2%, 75.7%, 0%, 46.7%) |
| CIE-LAB | lab(21.75, 37.63, -55.11) |
| CIE-LCH | lch(21.75, 66.73, 304.32°) |
| OKLab | oklab(34.18% 0.026 -0.1591) |
| OKLCH | oklch(34.18% 0.161 279.3) |
| XYZ | xyz(6.1131, 3.4456, 23.6307) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.63
Midnight Blue
#191970
ΔE00 4.53
Indigo (survey)
#380282
ΔE00 5.44
Cobalt Blue
#030AA7
ΔE00 5.95
Indigo Blue
#3A18B1
ΔE00 6.21
Darkblue
#00008B
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2188 #7B8821
analogous
#214788 #2E2188 #612188
triadic
#2E2188 #882E21 #21882E
tetradic
#2E2188 #882147 #7B8821 #218861
square
#2E2188 #882147 #7B8821 #218861
split-complementary
#2E2188 #886121 #478821
monochromatic
#0D0925 #1D1557 #2E2188 #3F2DB9 #604FD4
Accessibility & contrast
On white
12.43
#2E2188 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2E2188 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2188
12.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2188 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2188 | 1.00 | 12.43 | 1.69 | 12.43 |
| #FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#003086
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2e2188; /* rgb */ color: rgb(46, 33, 136); /* oklch */ color: oklch(34.2% 0.161 279.3);
Tailwind
colors: {
custom: {
50: '#745eac',
500: '#2e2188',
950: '#000000',
},
}SCSS
$custom: #2e2188; $custom-light: #745eac; $custom-dark: #000000;
JSON
{
"hex": "#2e2188",
"rgb": {
"r": 46,
"g": 33,
"b": 136
},
"hsl": {
"h": 247.573,
"s": 60.947,
"l": 33.137
},
"oklch": {
"l": 0.34179,
"c": 0.16119,
"h": 279.3
},
"luminance": 0.03446
}Semantic roles & 50–950 ramp
primary
#2E2188
secondary
#AAB84D
accent
#E444D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F