#1E187F#1E187F
#1E187F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.163 H 273.7°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).
Color values
| HEX | #1E187F |
|---|---|
| RGB | rgb(30, 24, 127) |
| HSL | hsl(243, 68%, 30%) |
| HSV | hsv(243, 81%, 50%) |
| CMYK | cmyk(76.4%, 81.1%, 0%, 50.2%) |
| CIE-LAB | lab(17.74, 37.97, -56.08) |
| CIE-LCH | lch(17.74, 67.73, 304.10°) |
| OKLab | oklab(30.75% 0.0106 -0.1622) |
| OKLCH | oklch(30.75% 0.163 273.7) |
| XYZ | xyz(4.6915, 2.4611, 20.3023) |
| Luminance | 0.0246 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.58
Royal
#0C1793
ΔE00 3.02
Navy
#000080
ΔE00 4.34
Dark Royal Blue
#02066F
ΔE00 4.36
Darkblue
#00008B
ΔE00 4.38
Deep Blue
#040273
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E187F #797F18
analogous
#18467F #1E187F #52187F
triadic
#1E187F #7F1E18 #187F1E
tetradic
#1E187F #7F1846 #797F18 #187F52
square
#1E187F #7F1846 #797F18 #187F52
split-complementary
#1E187F #7F5218 #467F18
monochromatic
#06051A #120E4C #1E187F #2A22B2 #4138D9
Accessibility & contrast
On white
14.07
#1E187F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#1E187F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E187F
14.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E187F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E187F | 1.00 | 14.07 | 1.49 | 14.07 |
| #FFFFFF | 14.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1e187f; /* rgb */ color: rgb(30, 24, 127); /* oklch */ color: oklch(30.7% 0.163 273.7);
Tailwind
colors: {
custom: {
50: '#6c57a5',
500: '#1e187f',
950: '#000000',
},
}SCSS
$custom: #1e187f; $custom-light: #6c57a5; $custom-dark: #000000;
JSON
{
"hex": "#1e187f",
"rgb": {
"r": 30,
"g": 24,
"b": 127
},
"hsl": {
"h": 243.495,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.30745,
"c": 0.1626,
"h": 273.7
},
"luminance": 0.02462
}Semantic roles & 50–950 ramp
primary
#1E187F
secondary
#ADB33F
accent
#EB3DE1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F