#1E2388#1E2388
#1E2388 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.163 H 271.3°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2388 |
|---|---|
| RGB | rgb(30, 35, 136) |
| HSL | hsl(237, 64%, 33%) |
| HSV | hsv(237, 78%, 53%) |
| CMYK | cmyk(77.9%, 74.3%, 0%, 46.7%) |
| CIE-LAB | lab(21.04, 34.67, -56.32) |
| CIE-LCH | lch(21.04, 66.13, 301.62°) |
| OKLab | oklab(33.38% 0.0038 -0.163) |
| OKLCH | oklch(33.38% 0.163 271.3) |
| XYZ | xyz(5.5789, 3.2551, 23.6220) |
| Luminance | 0.0326 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.35
Midnight Blue
#191970
ΔE00 4.19
Cobalt Blue
#030AA7
ΔE00 6.15
Darkblue
#00008B
ΔE00 6.51
Royal Blue (survey)
#0504AA
ΔE00 6.76
Navy
#000080
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2388 #88831E
analogous
#1E5888 #1E2388 #4E1E88
triadic
#1E2388 #881E23 #23881E
tetradic
#1E2388 #881E58 #88831E #1E884E
square
#1E2388 #881E58 #88831E #1E884E
split-complementary
#1E2388 #884E1E #58881E
monochromatic
#080924 #131656 #1E2388 #2930BA #4950D7
Accessibility & contrast
On white
12.72
#1E2388 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1E2388 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2388
12.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2388 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2388 | 1.00 | 12.72 | 1.65 | 12.72 |
| #FFFFFF | 12.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#002D86
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1e2388; /* rgb */ color: rgb(30, 35, 136); /* oklch */ color: oklch(33.4% 0.163 271.3);
Tailwind
colors: {
custom: {
50: '#6d5fac',
500: '#1e2388',
950: '#000000',
},
}SCSS
$custom: #1e2388; $custom-light: #6d5fac; $custom-dark: #000000;
JSON
{
"hex": "#1e2388",
"rgb": {
"r": 30,
"g": 35,
"b": 136
},
"hsl": {
"h": 237.17,
"s": 63.855,
"l": 32.549
},
"oklch": {
"l": 0.33378,
"c": 0.16307,
"h": 271.3
},
"luminance": 0.03256
}Semantic roles & 50–950 ramp
primary
#1E2388
secondary
#B9B449
accent
#DF41E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F