#1E478A#1E478A
#1E478A is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.8% C 0.121 H 259.8°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #1E478A |
|---|---|
| RGB | rgb(30, 71, 138) |
| HSL | hsl(217, 64%, 33%) |
| HSV | hsv(217, 78%, 54%) |
| CMYK | cmyk(78.3%, 48.6%, 0%, 45.9%) |
| CIE-LAB | lab(30.92, 11.02, -41.46) |
| CIE-LCH | lch(30.92, 42.90, 284.89°) |
| OKLab | oklab(40.79% -0.0214 -0.119) |
| OKLCH | oklch(40.79% 0.121 259.8) |
| XYZ | xyz(7.3744, 6.6166, 24.9283) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.71
Darkish Blue
#014182
ΔE00 2.66
Twilight Blue
#0A437A
ΔE00 3.20
Dusk Blue
#26538D
ΔE00 4.06
Cobalt
#0047AB
ΔE00 4.36
Prussian Blue
#004577
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E478A #8A611E
analogous
#1E7D8A #1E478A #2B1E8A
triadic
#1E478A #8A1E47 #478A1E
tetradic
#1E478A #8A1E7D #8A611E #1E8A2B
square
#1E478A #8A1E7D #8A611E #1E8A2B
split-complementary
#1E478A #8A2B1E #7D8A1E
monochromatic
#081325 #132D58 #1E478A #2961BC #4B80D8
Accessibility & contrast
On white
9.04
#1E478A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#1E478A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E478A
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E478A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E478A | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224E8C
Deuteranopia (green-blind)
#034489
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1e478a; /* rgb */ color: rgb(30, 71, 138); /* oklch */ color: oklch(40.8% 0.121 259.8);
Tailwind
colors: {
custom: {
50: '#6b79ad',
500: '#1e478a',
950: '#000000',
},
}SCSS
$custom: #1e478a; $custom-light: #6b79ad; $custom-dark: #000000;
JSON
{
"hex": "#1e478a",
"rgb": {
"r": 30,
"g": 71,
"b": 138
},
"hsl": {
"h": 217.222,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.40795,
"c": 0.12093,
"h": 259.8
},
"luminance": 0.06617
}Semantic roles & 50–950 ramp
primary
#1E478A
secondary
#BA8F4A
accent
#A841E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F