#1E4D8F#1E4D8F
#1E4D8F is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.6% C 0.121 H 257.7°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #1E4D8F |
|---|---|
| RGB | rgb(30, 77, 143) |
| HSL | hsl(215, 65%, 34%) |
| HSV | hsv(215, 79%, 56%) |
| CMYK | cmyk(79%, 46.2%, 0%, 43.9%) |
| CIE-LAB | lab(33.06, 8.97, -41.08) |
| CIE-LCH | lch(33.06, 42.05, 282.31°) |
| OKLab | oklab(42.56% -0.0258 -0.1178) |
| OKLCH | oklch(42.56% 0.121 257.7) |
| XYZ | xyz(8.1454, 7.5660, 27.0124) |
| Luminance | 0.0757 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.89
Dusk Blue
#26538D
ΔE00 2.05
Light Navy
#155084
ΔE00 3.12
Darkish Blue
#014182
ΔE00 4.06
Twilight Blue
#0A437A
ΔE00 4.10
Cobalt
#0047AB
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E4D8F #8F601E
analogous
#1E868F #1E4D8F #271E8F
triadic
#1E4D8F #8F1E4D #4D8F1E
tetradic
#1E4D8F #8F1E86 #8F601E #1E8F27
square
#1E4D8F #8F1E86 #8F601E #1E8F27
split-complementary
#1E4D8F #8F271E #868F1E
monochromatic
#09172A #13325C #1E4D8F #2968C2 #4E88DA
Accessibility & contrast
On white
8.36
#1E4D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#1E4D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E4D8F
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E4D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E4D8F | 1.00 | 8.36 | 2.51 | 8.36 |
| #FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5392
Deuteranopia (green-blind)
#12498E
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1e4d8f; /* rgb */ color: rgb(30, 77, 143); /* oklch */ color: oklch(42.6% 0.121 257.7);
Tailwind
colors: {
custom: {
50: '#6c7eb0',
500: '#1e4d8f',
950: '#000000',
},
}SCSS
$custom: #1e4d8f; $custom-light: #6c7eb0; $custom-dark: #000000;
JSON
{
"hex": "#1e4d8f",
"rgb": {
"r": 30,
"g": 77,
"b": 143
},
"hsl": {
"h": 215.044,
"s": 65.318,
"l": 33.922
},
"oklch": {
"l": 0.42556,
"c": 0.12058,
"h": 257.7
},
"luminance": 0.07567
}Semantic roles & 50–950 ramp
primary
#1E4D8F
secondary
#BC8E4C
accent
#A240E8
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#080910
muted
#7A7B7F