#1E398E#1E398E
#1E398E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.145 H 266.1°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #1E398E |
|---|---|
| RGB | rgb(30, 57, 142) |
| HSL | hsl(226, 65%, 34%) |
| HSV | hsv(226, 79%, 56%) |
| CMYK | cmyk(78.9%, 59.9%, 0%, 44.3%) |
| CIE-LAB | lab(27.17, 22.29, -49.99) |
| CIE-LCH | lch(27.17, 54.74, 294.03°) |
| OKLab | oklab(38.05% -0.0098 -0.1444) |
| OKLCH | oklch(38.05% 0.145 266.1) |
| XYZ | xyz(6.8793, 5.1545, 26.2183) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.58
Cobalt (survey)
#1E488F
ΔE00 5.42
Darkish Blue
#014182
ΔE00 5.58
Cobalt
#0047AB
ΔE00 5.90
Blueberry
#464196
ΔE00 5.98
Twilight Blue
#0A437A
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E398E #8E731E
analogous
#1E718E #1E398E #3B1E8E
triadic
#1E398E #8E1E39 #398E1E
tetradic
#1E398E #8E1E71 #8E731E #1E8E3B
square
#1E398E #8E1E71 #8E731E #1E8E3B
split-complementary
#1E398E #8E3B1E #718E1E
monochromatic
#091029 #13255B #1E398E #294DC1 #4D6FD9
Accessibility & contrast
On white
10.34
#1E398E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#1E398E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E398E
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E398E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E398E | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1e398e; /* rgb */ color: rgb(30, 57, 142); /* oklch */ color: oklch(38.0% 0.145 266.1);
Tailwind
colors: {
custom: {
50: '#6d6fb0',
500: '#1e398e',
950: '#000000',
},
}SCSS
$custom: #1e398e; $custom-light: #6d6fb0; $custom-dark: #000000;
JSON
{
"hex": "#1e398e",
"rgb": {
"r": 30,
"g": 57,
"b": 142
},
"hsl": {
"h": 225.536,
"s": 65.116,
"l": 33.725
},
"oklch": {
"l": 0.38047,
"c": 0.14472,
"h": 266.1
},
"luminance": 0.05155
}Semantic roles & 50–950 ramp
primary
#1E398E
secondary
#BCA14C
accent
#BF40E8
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F