#1E237E#1E237E
#1E237E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.150 H 272.0°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).
Color values
| HEX | #1E237E |
|---|---|
| RGB | rgb(30, 35, 126) |
| HSL | hsl(237, 62%, 31%) |
| HSV | hsv(237, 76%, 49%) |
| CMYK | cmyk(76.2%, 72.2%, 0%, 50.6%) |
| CIE-LAB | lab(19.98, 31.02, -51.76) |
| CIE-LCH | lch(19.98, 60.34, 300.94°) |
| OKLab | oklab(32.3% 0.0053 -0.1497) |
| OKLCH | oklch(32.3% 0.15 272) |
| XYZ | xyz(4.9011, 2.9839, 20.0523) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.12
Royal
#0C1793
ΔE00 4.51
Dark Royal Blue
#02066F
ΔE00 6.71
Darkblue
#00008B
ΔE00 7.11
Navy
#000080
ΔE00 7.15
Deep Blue
#040273
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E237E #7E791E
analogous
#1E537E #1E237E #491E7E
triadic
#1E237E #7E1E23 #237E1E
tetradic
#1E237E #7E1E53 #7E791E #1E7E49
square
#1E237E #7E1E53 #7E791E #1E7E49
split-complementary
#1E237E #7E491E #537E1E
monochromatic
#06081B #12154D #1E237E #2A31AF #444BD2
Accessibility & contrast
On white
13.15
#1E237E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1E237E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E237E
13.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E237E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E237E | 1.00 | 13.15 | 1.60 | 13.15 |
| #FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1e237e; /* rgb */ color: rgb(30, 35, 126); /* oklch */ color: oklch(32.3% 0.150 272.0);
Tailwind
colors: {
custom: {
50: '#6a5ea4',
500: '#1e237e',
950: '#000000',
},
}SCSS
$custom: #1e237e; $custom-light: #6a5ea4; $custom-dark: #000000;
JSON
{
"hex": "#1e237e",
"rgb": {
"r": 30,
"g": 35,
"b": 126
},
"hsl": {
"h": 236.875,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.32301,
"c": 0.14982,
"h": 272
},
"luminance": 0.02984
}Semantic roles & 50–950 ramp
primary
#1E237E
secondary
#B1AC47
accent
#DC43E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F