#1E2387#1E2387
#1E2387 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.162 H 271.4°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2387 |
|---|---|
| RGB | rgb(30, 35, 135) |
| HSL | hsl(237, 64%, 32%) |
| HSV | hsv(237, 78%, 53%) |
| CMYK | cmyk(77.8%, 74.1%, 0%, 47.1%) |
| CIE-LAB | lab(20.93, 34.31, -55.87) |
| CIE-LCH | lch(20.93, 65.56, 301.55°) |
| OKLab | oklab(33.27% 0.004 -0.1617) |
| OKLCH | oklch(33.27% 0.162 271.4) |
| XYZ | xyz(5.5081, 3.2268, 23.2495) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.44
Midnight Blue
#191970
ΔE00 4.07
Cobalt Blue
#030AA7
ΔE00 6.28
Darkblue
#00008B
ΔE00 6.55
Royal Blue (survey)
#0504AA
ΔE00 6.88
Navy
#000080
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2387 #87821E
analogous
#1E5787 #1E2387 #4E1E87
triadic
#1E2387 #871E23 #23871E
tetradic
#1E2387 #871E57 #87821E #1E874E
square
#1E2387 #871E57 #87821E #1E874E
split-complementary
#1E2387 #874E1E #57871E
monochromatic
#080923 #131655 #1E2387 #2930B9 #4950D7
Accessibility & contrast
On white
12.76
#1E2387 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1E2387 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2387
12.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2387 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2387 | 1.00 | 12.76 | 1.65 | 12.76 |
| #FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378A
Deuteranopia (green-blind)
#002D85
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1e2387; /* rgb */ color: rgb(30, 35, 135); /* oklch */ color: oklch(33.3% 0.162 271.4);
Tailwind
colors: {
custom: {
50: '#6d5fab',
500: '#1e2387',
950: '#000000',
},
}SCSS
$custom: #1e2387; $custom-light: #6d5fab; $custom-dark: #000000;
JSON
{
"hex": "#1e2387",
"rgb": {
"r": 30,
"g": 35,
"b": 135
},
"hsl": {
"h": 237.143,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.33269,
"c": 0.16177,
"h": 271.4
},
"luminance": 0.03227
}Semantic roles & 50–950 ramp
primary
#1E2387
secondary
#B9B348
accent
#DF41E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F