#1E408B#1E408B
#1E408B is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.131 H 263.3°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #1E408B |
|---|---|
| RGB | rgb(30, 64, 139) |
| HSL | hsl(221, 64%, 33%) |
| HSV | hsv(221, 78%, 55%) |
| CMYK | cmyk(78.4%, 54%, 0%, 45.5%) |
| CIE-LAB | lab(28.92, 16.24, -45.30) |
| CIE-LCH | lch(28.92, 48.13, 289.73°) |
| OKLab | oklab(39.29% -0.0154 -0.1305) |
| OKLCH | oklch(39.29% 0.131 263.3) |
| XYZ | xyz(7.0274, 5.8061, 25.1714) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.83
Darkish Blue
#014182
ΔE00 3.39
Twilight Blue
#0A437A
ΔE00 4.48
Cobalt
#0047AB
ΔE00 4.70
Marine Blue
#01386A
ΔE00 5.77
Prussian Blue
#004577
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E408B #8B691E
analogous
#1E768B #1E408B #321E8B
triadic
#1E408B #8B1E40 #408B1E
tetradic
#1E408B #8B1E76 #8B691E #1E8B32
square
#1E408B #8B1E76 #8B691E #1E8B32
split-complementary
#1E408B #8B321E #768B1E
monochromatic
#081226 #132959 #1E408B #2957BD #4B77D8
Accessibility & contrast
On white
9.72
#1E408B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#1E408B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E408B
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E408B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E408B | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A498E
Deuteranopia (green-blind)
#003F8A
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #1e408b; /* rgb */ color: rgb(30, 64, 139); /* oklch */ color: oklch(39.3% 0.131 263.3);
Tailwind
colors: {
custom: {
50: '#6b74ad',
500: '#1e408b',
950: '#000000',
},
}SCSS
$custom: #1e408b; $custom-light: #6b74ad; $custom-dark: #000000;
JSON
{
"hex": "#1e408b",
"rgb": {
"r": 30,
"g": 64,
"b": 139
},
"hsl": {
"h": 221.284,
"s": 64.497,
"l": 33.137
},
"oklch": {
"l": 0.3929,
"c": 0.13137,
"h": 263.3
},
"luminance": 0.05807
}Semantic roles & 50–950 ramp
primary
#1E408B
secondary
#BB984A
accent
#B340E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F