#1E2371#1E2371
#1E2371 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.132 H 273.0°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2371 |
|---|---|
| RGB | rgb(30, 35, 113) |
| HSL | hsl(236, 58%, 28%) |
| HSV | hsv(236, 73%, 44%) |
| CMYK | cmyk(73.5%, 69%, 0%, 55.7%) |
| CIE-LAB | lab(18.67, 26.14, -45.58) |
| CIE-LCH | lch(18.67, 52.55, 299.84°) |
| OKLab | oklab(30.95% 0.0068 -0.1317) |
| OKLCH | oklch(30.95% 0.132 273) |
| XYZ | xyz(4.1161, 2.6699, 15.9180) |
| Luminance | 0.0267 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.86
Royal
#0C1793
ΔE00 6.49
Darkblue (survey)
#030764
ΔE00 6.96
Dark Royal Blue
#02066F
ΔE00 6.97
Deep Blue
#040273
ΔE00 7.66
Marine
#042E60
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2371 #716C1E
analogous
#1E4C71 #1E2371 #431E71
triadic
#1E2371 #711E23 #23711E
tetradic
#1E2371 #711E4C #716C1E #1E7143
square
#1E2371 #711E4C #716C1E #1E7143
split-complementary
#1E2371 #71431E #4C711E
monochromatic
#060718 #111441 #1E2371 #2B32A1 #3E46CC
Accessibility & contrast
On white
13.69
#1E2371 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1E2371 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2371
13.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2371 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2371 | 1.00 | 13.69 | 1.53 | 13.69 |
| #FFFFFF | 13.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003173
Deuteranopia (green-blind)
#002A70
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1e2371; /* rgb */ color: rgb(30, 35, 113); /* oklch */ color: oklch(31.0% 0.132 273.0);
Tailwind
colors: {
custom: {
50: '#675e9b',
500: '#1e2371',
950: '#000000',
},
}SCSS
$custom: #1e2371; $custom-light: #675e9b; $custom-dark: #000000;
JSON
{
"hex": "#1e2371",
"rgb": {
"r": 30,
"g": 35,
"b": 113
},
"hsl": {
"h": 236.386,
"s": 58.042,
"l": 28.039
},
"oklch": {
"l": 0.30954,
"c": 0.13186,
"h": 273
},
"luminance": 0.0267
}Semantic roles & 50–950 ramp
primary
#1E2371
secondary
#A59F46
accent
#D847E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E