#1E398B#1E398B
#1E398B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.140 H 265.9°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).
Color values
| HEX | #1E398B |
|---|---|
| RGB | rgb(30, 57, 139) |
| HSL | hsl(225, 64%, 33%) |
| HSV | hsv(225, 78%, 55%) |
| CMYK | cmyk(78.4%, 59%, 0%, 45.5%) |
| CIE-LAB | lab(26.92, 21.10, -48.55) |
| CIE-LCH | lch(26.92, 52.93, 293.49°) |
| OKLab | oklab(37.78% -0.0099 -0.1401) |
| OKLCH | oklch(37.78% 0.14 265.9) |
| XYZ | xyz(6.6571, 5.0656, 25.0480) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.06
Cobalt (survey)
#1E488F
ΔE00 5.32
Darkish Blue
#014182
ΔE00 5.33
Cobalt
#0047AB
ΔE00 6.11
Blueberry
#464196
ΔE00 6.16
Marine Blue
#01386A
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E398B #8B701E
analogous
#1E6F8B #1E398B #3A1E8B
triadic
#1E398B #8B1E39 #398B1E
tetradic
#1E398B #8B1E6F #8B701E #1E8B3A
square
#1E398B #8B1E6F #8B701E #1E8B3A
split-complementary
#1E398B #8B3A1E #6F8B1E
monochromatic
#081026 #132459 #1E398B #294EBD #4B6ED8
Accessibility & contrast
On white
10.43
#1E398B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#1E398B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E398B
10.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E398B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E398B | 1.00 | 10.43 | 2.01 | 10.43 |
| #FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1e398b; /* rgb */ color: rgb(30, 57, 139); /* oklch */ color: oklch(37.8% 0.140 265.9);
Tailwind
colors: {
custom: {
50: '#6c6eae',
500: '#1e398b',
950: '#000000',
},
}SCSS
$custom: #1e398b; $custom-light: #6c6eae; $custom-dark: #000000;
JSON
{
"hex": "#1e398b",
"rgb": {
"r": 30,
"g": 57,
"b": 139
},
"hsl": {
"h": 225.138,
"s": 64.497,
"l": 33.137
},
"oklch": {
"l": 0.37782,
"c": 0.14048,
"h": 265.9
},
"luminance": 0.05066
}Semantic roles & 50–950 ramp
primary
#1E398B
secondary
#BB9F4A
accent
#BE40E7
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F