#1E2188#1E2188
#1E2188 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.165 H 271.7°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2188 |
|---|---|
| RGB | rgb(30, 33, 136) |
| HSL | hsl(238, 64%, 33%) |
| HSV | hsv(238, 78%, 53%) |
| CMYK | cmyk(77.9%, 75.7%, 0%, 46.7%) |
| CIE-LAB | lab(20.60, 35.90, -57.04) |
| CIE-LCH | lch(20.60, 67.40, 302.18°) |
| OKLab | oklab(33.07% 0.0048 -0.1651) |
| OKLCH | oklch(33.07% 0.165 271.7) |
| XYZ | xyz(5.5217, 3.1407, 23.6030) |
| Luminance | 0.0314 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.91
Midnight Blue
#191970
ΔE00 3.98
Cobalt Blue
#030AA7
ΔE00 5.77
Darkblue
#00008B
ΔE00 5.99
Royal Blue (survey)
#0504AA
ΔE00 6.37
Navy
#000080
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2188 #88851E
analogous
#1E5688 #1E2188 #501E88
triadic
#1E2188 #881E21 #21881E
tetradic
#1E2188 #881E56 #88851E #1E8850
square
#1E2188 #881E56 #88851E #1E8850
split-complementary
#1E2188 #88501E #56881E
monochromatic
#080924 #131556 #1E2188 #292DBA #494DD7
Accessibility & contrast
On white
12.90
#1E2188 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#1E2188 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2188
12.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2188 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2188 | 1.00 | 12.90 | 1.63 | 12.90 |
| #FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378B
Deuteranopia (green-blind)
#002C86
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1e2188; /* rgb */ color: rgb(30, 33, 136); /* oklch */ color: oklch(33.1% 0.165 271.7);
Tailwind
colors: {
custom: {
50: '#6d5dac',
500: '#1e2188',
950: '#000000',
},
}SCSS
$custom: #1e2188; $custom-light: #6d5dac; $custom-dark: #000000;
JSON
{
"hex": "#1e2188",
"rgb": {
"r": 30,
"g": 33,
"b": 136
},
"hsl": {
"h": 238.302,
"s": 63.855,
"l": 32.549
},
"oklch": {
"l": 0.33065,
"c": 0.1652,
"h": 271.7
},
"luminance": 0.03141
}Semantic roles & 50–950 ramp
primary
#1E2188
secondary
#B9B649
accent
#E241E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F