#1E317A#1E317A
#1E317A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.6% C 0.127 H 268.0°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).
Color values
| HEX | #1E317A |
|---|---|
| RGB | rgb(30, 49, 122) |
| HSL | hsl(228, 61%, 30%) |
| HSV | hsv(228, 75%, 48%) |
| CMYK | cmyk(75.4%, 59.8%, 0%, 52.2%) |
| CIE-LAB | lab(23.26, 19.92, -43.85) |
| CIE-LCH | lch(23.26, 48.16, 294.43°) |
| OKLab | oklab(34.6% -0.0044 -0.1264) |
| OKLCH | oklch(34.6% 0.127 268) |
| XYZ | xyz(5.1454, 3.8772, 18.8858) |
| Luminance | 0.0388 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.41
Marine Blue
#01386A
ΔE00 6.41
Darkish Blue
#014182
ΔE00 7.13
Midnight Blue
#191970
ΔE00 7.28
Darkslateblue
#483D8B
ΔE00 7.30
Sapphire (survey)
#2138AB
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E317A #7A671E
analogous
#1E5F7A #1E317A #391E7A
triadic
#1E317A #7A1E31 #317A1E
tetradic
#1E317A #7A1E5F #7A671E #1E7A39
square
#1E317A #7A1E5F #7A671E #1E7A39
split-complementary
#1E317A #7A391E #5F7A1E
monochromatic
#060A19 #121D49 #1E317A #2A45AB #425FD0
Accessibility & contrast
On white
11.83
#1E317A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#1E317A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E317A
11.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E317A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E317A | 1.00 | 11.83 | 1.78 | 11.83 |
| #FFFFFF | 11.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1e317a; /* rgb */ color: rgb(30, 49, 122); /* oklch */ color: oklch(34.6% 0.127 268.0);
Tailwind
colors: {
custom: {
50: '#6868a1',
500: '#1e317a',
950: '#000000',
},
}SCSS
$custom: #1e317a; $custom-light: #6868a1; $custom-dark: #000000;
JSON
{
"hex": "#1e317a",
"rgb": {
"r": 30,
"g": 49,
"b": 122
},
"hsl": {
"h": 227.609,
"s": 60.526,
"l": 29.804
},
"oklch": {
"l": 0.34598,
"c": 0.12653,
"h": 268
},
"luminance": 0.03878
}Semantic roles & 50–950 ramp
primary
#1E317A
secondary
#AE9846
accent
#C344E4
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F