#1E408D#1E408D
#1E408D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.134 H 263.5°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1E408D |
|---|---|
| RGB | rgb(30, 64, 141) |
| HSL | hsl(222, 65%, 34%) |
| HSV | hsv(222, 79%, 55%) |
| CMYK | cmyk(78.7%, 54.6%, 0%, 44.7%) |
| CIE-LAB | lab(29.07, 17.05, -46.29) |
| CIE-LCH | lch(29.07, 49.33, 290.22°) |
| OKLab | oklab(39.45% -0.0152 -0.1334) |
| OKLCH | oklch(39.45% 0.134 263.5) |
| XYZ | xyz(7.1748, 5.8651, 25.9481) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.88
Darkish Blue
#014182
ΔE00 3.59
Cobalt
#0047AB
ΔE00 4.48
Twilight Blue
#0A437A
ΔE00 4.71
Sapphire (survey)
#2138AB
ΔE00 5.99
Marine Blue
#01386A
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E408D #8D6B1E
analogous
#1E778D #1E408D #341E8D
triadic
#1E408D #8D1E40 #408D1E
tetradic
#1E408D #8D1E77 #8D6B1E #1E8D34
square
#1E408D #8D1E77 #8D6B1E #1E8D34
split-complementary
#1E408D #8D341E #778D1E
monochromatic
#091228 #13295B #1E408D #2957BF #4C77D9
Accessibility & contrast
On white
9.66
#1E408D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#1E408D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E408D
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E408D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E408D | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#054A90
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1e408d; /* rgb */ color: rgb(30, 64, 141); /* oklch */ color: oklch(39.5% 0.134 263.5);
Tailwind
colors: {
custom: {
50: '#6c74af',
500: '#1e408d',
950: '#000000',
},
}SCSS
$custom: #1e408d; $custom-light: #6c74af; $custom-dark: #000000;
JSON
{
"hex": "#1e408d",
"rgb": {
"r": 30,
"g": 64,
"b": 141
},
"hsl": {
"h": 221.622,
"s": 64.912,
"l": 33.529
},
"oklch": {
"l": 0.39453,
"c": 0.13424,
"h": 263.5
},
"luminance": 0.05866
}Semantic roles & 50–950 ramp
primary
#1E408D
secondary
#BC994B
accent
#B440E8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F