#1E187B#1E187B
#1E187B is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.158 H 274.2°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).
Color values
| HEX | #1E187B |
|---|---|
| RGB | rgb(30, 24, 123) |
| HSL | hsl(244, 67%, 29%) |
| HSV | hsv(244, 80%, 48%) |
| CMYK | cmyk(75.6%, 80.5%, 0%, 51.8%) |
| CIE-LAB | lab(17.27, 36.62, -54.32) |
| CIE-LCH | lch(17.27, 65.51, 303.99°) |
| OKLab | oklab(30.27% 0.0116 -0.1571) |
| OKLCH | oklch(30.27% 0.158 274.2) |
| XYZ | xyz(4.4360, 2.3589, 18.9566) |
| Luminance | 0.0236 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.99
Royal
#0C1793
ΔE00 3.62
Dark Royal Blue
#02066F
ΔE00 4.12
Deep Blue
#040273
ΔE00 4.43
Navy
#000080
ΔE00 4.48
Darkblue
#00008B
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E187B #757B18
analogous
#18447B #1E187B #50187B
triadic
#1E187B #7B1E18 #187B1E
tetradic
#1E187B #7B1844 #757B18 #187B50
square
#1E187B #7B1844 #757B18 #187B50
split-complementary
#1E187B #7B5018 #447B18
monochromatic
#06051A #120E48 #1E187B #2A22AE #4036D8
Accessibility & contrast
On white
14.27
#1E187B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#1E187B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E187B
14.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E187B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E187B | 1.00 | 14.27 | 1.47 | 14.27 |
| #FFFFFF | 14.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002679
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1e187b; /* rgb */ color: rgb(30, 24, 123); /* oklch */ color: oklch(30.3% 0.158 274.2);
Tailwind
colors: {
custom: {
50: '#6b57a2',
500: '#1e187b',
950: '#000000',
},
}SCSS
$custom: #1e187b; $custom-light: #6b57a2; $custom-dark: #000000;
JSON
{
"hex": "#1e187b",
"rgb": {
"r": 30,
"g": 24,
"b": 123
},
"hsl": {
"h": 243.636,
"s": 67.347,
"l": 28.824
},
"oklch": {
"l": 0.30274,
"c": 0.15755,
"h": 274.2
},
"luminance": 0.02359
}Semantic roles & 50–950 ramp
primary
#1E187B
secondary
#A9B03F
accent
#EA3EE0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F