#1E2187#1E2187
#1E2187 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.164 H 271.7°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2187 |
|---|---|
| RGB | rgb(30, 33, 135) |
| HSL | hsl(238, 64%, 32%) |
| HSV | hsv(238, 78%, 53%) |
| CMYK | cmyk(77.8%, 75.6%, 0%, 47.1%) |
| CIE-LAB | lab(20.49, 35.54, -56.60) |
| CIE-LCH | lch(20.49, 66.83, 302.13°) |
| OKLab | oklab(32.95% 0.005 -0.1638) |
| OKLCH | oklch(32.95% 0.164 271.7) |
| XYZ | xyz(5.4510, 3.1124, 23.2304) |
| Luminance | 0.0311 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.01
Midnight Blue
#191970
ΔE00 3.85
Cobalt Blue
#030AA7
ΔE00 5.90
Darkblue
#00008B
ΔE00 6.03
Navy
#000080
ΔE00 6.37
Royal Blue (survey)
#0504AA
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2187 #87841E
analogous
#1E5587 #1E2187 #501E87
triadic
#1E2187 #871E21 #21871E
tetradic
#1E2187 #871E55 #87841E #1E8750
square
#1E2187 #871E55 #87841E #1E8750
split-complementary
#1E2187 #87501E #55871E
monochromatic
#080923 #131555 #1E2187 #292DB9 #494DD7
Accessibility & contrast
On white
12.94
#1E2187 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#1E2187 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2187
12.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2187 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2187 | 1.00 | 12.94 | 1.62 | 12.94 |
| #FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#002C85
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1e2187; /* rgb */ color: rgb(30, 33, 135); /* oklch */ color: oklch(33.0% 0.164 271.7);
Tailwind
colors: {
custom: {
50: '#6d5dab',
500: '#1e2187',
950: '#000000',
},
}SCSS
$custom: #1e2187; $custom-light: #6d5dab; $custom-dark: #000000;
JSON
{
"hex": "#1e2187",
"rgb": {
"r": 30,
"g": 33,
"b": 135
},
"hsl": {
"h": 238.286,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.32954,
"c": 0.1639,
"h": 271.7
},
"luminance": 0.03113
}Semantic roles & 50–950 ramp
primary
#1E2187
secondary
#B9B648
accent
#E241E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F