#1E398D#1E398D
#1E398D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.143 H 266.1°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1E398D |
|---|---|
| RGB | rgb(30, 57, 141) |
| HSL | hsl(225, 65%, 34%) |
| HSV | hsv(225, 79%, 55%) |
| CMYK | cmyk(78.7%, 59.6%, 0%, 44.7%) |
| CIE-LAB | lab(27.09, 21.90, -49.51) |
| CIE-LCH | lch(27.09, 54.14, 293.86°) |
| OKLab | oklab(37.96% -0.0099 -0.143) |
| OKLCH | oklch(37.96% 0.143 266.1) |
| XYZ | xyz(6.8046, 5.1246, 25.8247) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.74
Cobalt (survey)
#1E488F
ΔE00 5.38
Darkish Blue
#014182
ΔE00 5.49
Cobalt
#0047AB
ΔE00 5.96
Blueberry
#464196
ΔE00 6.03
Twilight Blue
#0A437A
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E398D #8D721E
analogous
#1E708D #1E398D #3A1E8D
triadic
#1E398D #8D1E39 #398D1E
tetradic
#1E398D #8D1E70 #8D721E #1E8D3A
square
#1E398D #8D1E70 #8D721E #1E8D3A
split-complementary
#1E398D #8D3A1E #708D1E
monochromatic
#091028 #13255B #1E398D #294DBF #4C6FD9
Accessibility & contrast
On white
10.37
#1E398D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#1E398D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E398D
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E398D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E398D | 1.00 | 10.37 | 2.03 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1e398d; /* rgb */ color: rgb(30, 57, 141); /* oklch */ color: oklch(38.0% 0.143 266.1);
Tailwind
colors: {
custom: {
50: '#6c6faf',
500: '#1e398d',
950: '#000000',
},
}SCSS
$custom: #1e398d; $custom-light: #6c6faf; $custom-dark: #000000;
JSON
{
"hex": "#1e398d",
"rgb": {
"r": 30,
"g": 57,
"b": 141
},
"hsl": {
"h": 225.405,
"s": 64.912,
"l": 33.529
},
"oklch": {
"l": 0.37958,
"c": 0.14331,
"h": 266.1
},
"luminance": 0.05125
}Semantic roles & 50–950 ramp
primary
#1E398D
secondary
#BCA04B
accent
#BF40E8
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F