#1E3387#1E3387
#1E3387 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.143 H 267.7°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).
Color values
| HEX | #1E3387 |
|---|---|
| RGB | rgb(30, 51, 135) |
| HSL | hsl(228, 64%, 32%) |
| HSV | hsv(228, 78%, 53%) |
| CMYK | cmyk(77.8%, 62.2%, 0%, 47.1%) |
| CIE-LAB | lab(24.93, 23.67, -49.31) |
| CIE-LCH | lch(24.93, 54.69, 295.65°) |
| OKLab | oklab(36.19% -0.0057 -0.1424) |
| OKLCH | oklch(36.19% 0.143 267.7) |
| XYZ | xyz(6.0909, 4.3923, 23.4438) |
| Luminance | 0.0439 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.37
Blueberry
#464196
ΔE00 6.56
Darkslateblue
#483D8B
ΔE00 6.69
Darkish Blue
#014182
ΔE00 6.96
Marine
#042E60
ΔE00 6.99
Marine Blue
#01386A
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E3387 #87721E
analogous
#1E6887 #1E3387 #3E1E87
triadic
#1E3387 #871E33 #33871E
tetradic
#1E3387 #871E68 #87721E #1E873E
square
#1E3387 #871E68 #87721E #1E873E
split-complementary
#1E3387 #873E1E #68871E
monochromatic
#080D23 #132055 #1E3387 #2946B9 #4965D7
Accessibility & contrast
On white
11.18
#1E3387 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#1E3387 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E3387
11.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E3387 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E3387 | 1.00 | 11.18 | 1.88 | 11.18 |
| #FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003685
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1e3387; /* rgb */ color: rgb(30, 51, 135); /* oklch */ color: oklch(36.2% 0.143 267.7);
Tailwind
colors: {
custom: {
50: '#6b6aab',
500: '#1e3387',
950: '#000000',
},
}SCSS
$custom: #1e3387; $custom-light: #6b6aab; $custom-dark: #000000;
JSON
{
"hex": "#1e3387",
"rgb": {
"r": 30,
"g": 51,
"b": 135
},
"hsl": {
"h": 228,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.36188,
"c": 0.14256,
"h": 267.7
},
"luminance": 0.04393
}Semantic roles & 50–950 ramp
primary
#1E3387
secondary
#B9A248
accent
#C641E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F