#2E2288#2E2288
#2E2288 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.160 H 279.1°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2288 |
|---|---|
| RGB | rgb(46, 34, 136) |
| HSL | hsl(247, 60%, 33%) |
| HSV | hsv(247, 75%, 53%) |
| CMYK | cmyk(66.2%, 75%, 0%, 46.7%) |
| CIE-LAB | lab(21.95, 37.05, -54.77) |
| CIE-LCH | lch(21.95, 66.13, 304.08°) |
| OKLab | oklab(34.32% 0.0253 -0.1581) |
| OKLCH | oklch(34.32% 0.16 279.1) |
| XYZ | xyz(6.1413, 3.5020, 23.6401) |
| Luminance | 0.0350 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.76
Midnight Blue
#191970
ΔE00 4.58
Indigo (survey)
#380282
ΔE00 5.68
Cobalt Blue
#030AA7
ΔE00 6.11
Indigo Blue
#3A18B1
ΔE00 6.29
Darkblue
#00008B
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2288 #7C8822
analogous
#224988 #2E2288 #612288
triadic
#2E2288 #882E22 #22882E
tetradic
#2E2288 #882249 #7C8822 #228861
square
#2E2288 #882249 #7C8822 #228861
split-complementary
#2E2288 #886122 #498822
monochromatic
#0D0A26 #1D1657 #2E2288 #3F2EB9 #6051D3
Accessibility & contrast
On white
12.35
#2E2288 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#2E2288 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2288
12.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2288 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2288 | 1.00 | 12.35 | 1.70 | 12.35 |
| #FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#003086
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2e2288; /* rgb */ color: rgb(46, 34, 136); /* oklch */ color: oklch(34.3% 0.160 279.1);
Tailwind
colors: {
custom: {
50: '#735fac',
500: '#2e2288',
950: '#000000',
},
}SCSS
$custom: #2e2288; $custom-light: #735fac; $custom-dark: #000000;
JSON
{
"hex": "#2e2288",
"rgb": {
"r": 46,
"g": 34,
"b": 136
},
"hsl": {
"h": 247.059,
"s": 60,
"l": 33.333
},
"oklch": {
"l": 0.34324,
"c": 0.16011,
"h": 279.1
},
"luminance": 0.03502
}Semantic roles & 50–950 ramp
primary
#2E2288
secondary
#ABB74F
accent
#E345D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F