#1E378A#1E378A
#1E378A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.142 H 266.5°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #1E378A |
|---|---|
| RGB | rgb(30, 55, 138) |
| HSL | hsl(226, 64%, 33%) |
| HSV | hsv(226, 78%, 54%) |
| CMYK | cmyk(78.3%, 60.1%, 0%, 45.9%) |
| CIE-LAB | lab(26.28, 22.09, -48.97) |
| CIE-LCH | lch(26.28, 53.72, 294.28°) |
| OKLab | oklab(37.28% -0.0085 -0.1414) |
| OKLCH | oklch(37.28% 0.142 266.5) |
| XYZ | xyz(6.4874, 4.8427, 24.6326) |
| Luminance | 0.0484 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.03
Darkish Blue
#014182
ΔE00 5.87
Cobalt (survey)
#1E488F
ΔE00 5.99
Blueberry
#464196
ΔE00 6.21
Cobalt
#0047AB
ΔE00 6.67
Marine Blue
#01386A
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E378A #8A711E
analogous
#1E6D8A #1E378A #3B1E8A
triadic
#1E378A #8A1E37 #378A1E
tetradic
#1E378A #8A1E6D #8A711E #1E8A3B
square
#1E378A #8A1E6D #8A711E #1E8A3B
split-complementary
#1E378A #8A3B1E #6D8A1E
monochromatic
#080F25 #132358 #1E378A #294BBC #4B6BD8
Accessibility & contrast
On white
10.67
#1E378A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#1E378A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E378A
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E378A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E378A | 1.00 | 10.67 | 1.97 | 10.67 |
| #FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1e378a; /* rgb */ color: rgb(30, 55, 138); /* oklch */ color: oklch(37.3% 0.142 266.5);
Tailwind
colors: {
custom: {
50: '#6c6dad',
500: '#1e378a',
950: '#000000',
},
}SCSS
$custom: #1e378a; $custom-light: #6c6dad; $custom-dark: #000000;
JSON
{
"hex": "#1e378a",
"rgb": {
"r": 30,
"g": 55,
"b": 138
},
"hsl": {
"h": 226.111,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.37278,
"c": 0.14166,
"h": 266.5
},
"luminance": 0.04843
}Semantic roles & 50–950 ramp
primary
#1E378A
secondary
#BAA04A
accent
#C141E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F