#1E378B#1E378B
#1E378B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.143 H 266.6°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).
Color values
| HEX | #1E378B |
|---|---|
| RGB | rgb(30, 55, 139) |
| HSL | hsl(226, 64%, 33%) |
| HSV | hsv(226, 78%, 55%) |
| CMYK | cmyk(78.4%, 60.4%, 0%, 45.5%) |
| CIE-LAB | lab(26.37, 22.49, -49.45) |
| CIE-LCH | lch(26.37, 54.32, 294.45°) |
| OKLab | oklab(37.37% -0.0085 -0.1428) |
| OKLCH | oklch(37.37% 0.143 266.6) |
| XYZ | xyz(6.5602, 4.8717, 25.0157) |
| Luminance | 0.0487 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.87
Darkish Blue
#014182
ΔE00 5.95
Cobalt (survey)
#1E488F
ΔE00 6.02
Blueberry
#464196
ΔE00 6.14
Cobalt
#0047AB
ΔE00 6.60
Darkslateblue
#483D8B
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E378B #8B721E
analogous
#1E6D8B #1E378B #3C1E8B
triadic
#1E378B #8B1E37 #378B1E
tetradic
#1E378B #8B1E6D #8B721E #1E8B3C
square
#1E378B #8B1E6D #8B721E #1E8B3C
split-complementary
#1E378B #8B3C1E #6D8B1E
monochromatic
#080F26 #132359 #1E378B #294BBD #4B6CD8
Accessibility & contrast
On white
10.64
#1E378B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#1E378B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E378B
10.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E378B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E378B | 1.00 | 10.64 | 1.97 | 10.64 |
| #FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1e378b; /* rgb */ color: rgb(30, 55, 139); /* oklch */ color: oklch(37.4% 0.143 266.6);
Tailwind
colors: {
custom: {
50: '#6c6dae',
500: '#1e378b',
950: '#000000',
},
}SCSS
$custom: #1e378b; $custom-light: #6c6dae; $custom-dark: #000000;
JSON
{
"hex": "#1e378b",
"rgb": {
"r": 30,
"g": 55,
"b": 139
},
"hsl": {
"h": 226.239,
"s": 64.497,
"l": 33.137
},
"oklch": {
"l": 0.37367,
"c": 0.14306,
"h": 266.6
},
"luminance": 0.04872
}Semantic roles & 50–950 ramp
primary
#1E378B
secondary
#BBA14A
accent
#C140E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F