#1E408A#1E408A
#1E408A is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.2% C 0.130 H 263.2°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #1E408A |
|---|---|
| RGB | rgb(30, 64, 138) |
| HSL | hsl(221, 64%, 33%) |
| HSV | hsv(221, 78%, 54%) |
| CMYK | cmyk(78.3%, 53.6%, 0%, 45.9%) |
| CIE-LAB | lab(28.84, 15.84, -44.81) |
| CIE-LCH | lch(28.84, 47.52, 289.47°) |
| OKLab | oklab(39.21% -0.0155 -0.129) |
| OKLCH | oklch(39.21% 0.13 263.2) |
| XYZ | xyz(6.9546, 5.7770, 24.7884) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.82
Darkish Blue
#014182
ΔE00 3.29
Twilight Blue
#0A437A
ΔE00 4.37
Cobalt
#0047AB
ΔE00 4.80
Marine Blue
#01386A
ΔE00 5.65
Prussian Blue
#004577
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E408A #8A681E
analogous
#1E768A #1E408A #321E8A
triadic
#1E408A #8A1E40 #408A1E
tetradic
#1E408A #8A1E76 #8A681E #1E8A32
square
#1E408A #8A1E76 #8A681E #1E8A32
split-complementary
#1E408A #8A321E #768A1E
monochromatic
#081125 #132958 #1E408A #2957BC #4B77D8
Accessibility & contrast
On white
9.74
#1E408A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#1E408A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E408A
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E408A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E408A | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D498D
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #1e408a; /* rgb */ color: rgb(30, 64, 138); /* oklch */ color: oklch(39.2% 0.130 263.2);
Tailwind
colors: {
custom: {
50: '#6b74ad',
500: '#1e408a',
950: '#000000',
},
}SCSS
$custom: #1e408a; $custom-light: #6b74ad; $custom-dark: #000000;
JSON
{
"hex": "#1e408a",
"rgb": {
"r": 30,
"g": 64,
"b": 138
},
"hsl": {
"h": 221.111,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.39209,
"c": 0.12994,
"h": 263.2
},
"luminance": 0.05778
}Semantic roles & 50–950 ramp
primary
#1E408A
secondary
#BA974A
accent
#B341E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F