#1E318D#1E318D
#1E318D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.153 H 268.3°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).
Color values
| HEX | #1E318D |
|---|---|
| RGB | rgb(30, 49, 141) |
| HSL | hsl(230, 65%, 34%) |
| HSV | hsv(230, 79%, 55%) |
| CMYK | cmyk(78.7%, 65.2%, 0%, 44.7%) |
| CIE-LAB | lab(24.94, 27.39, -53.03) |
| CIE-LCH | lch(24.94, 59.68, 297.31°) |
| OKLab | oklab(36.36% -0.0045 -0.1534) |
| OKLCH | oklch(36.36% 0.153 268.3) |
| XYZ | xyz(6.4398, 4.3950, 25.7031) |
| Luminance | 0.0440 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.57
Blueberry
#464196
ΔE00 6.50
Darkslateblue
#483D8B
ΔE00 6.71
Royal
#0C1793
ΔE00 6.97
Midnight Blue
#191970
ΔE00 7.47
Darkish Blue
#014182
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E318D #8D7A1E
analogous
#1E688D #1E318D #421E8D
triadic
#1E318D #8D1E31 #318D1E
tetradic
#1E318D #8D1E68 #8D7A1E #1E8D42
square
#1E318D #8D1E68 #8D7A1E #1E8D42
split-complementary
#1E318D #8D421E #688D1E
monochromatic
#090E28 #131F5B #1E318D #2943BF #4C64D9
Accessibility & contrast
On white
11.17
#1E318D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#1E318D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E318D
11.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E318D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E318D | 1.00 | 11.17 | 1.88 | 11.17 |
| #FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1e318d; /* rgb */ color: rgb(30, 49, 141); /* oklch */ color: oklch(36.4% 0.153 268.3);
Tailwind
colors: {
custom: {
50: '#6d69af',
500: '#1e318d',
950: '#000000',
},
}SCSS
$custom: #1e318d; $custom-light: #6d69af; $custom-dark: #000000;
JSON
{
"hex": "#1e318d",
"rgb": {
"r": 30,
"g": 49,
"b": 141
},
"hsl": {
"h": 229.73,
"s": 64.912,
"l": 33.529
},
"oklch": {
"l": 0.36361,
"c": 0.15345,
"h": 268.3
},
"luminance": 0.04396
}Semantic roles & 50–950 ramp
primary
#1E318D
secondary
#BCA84B
accent
#CB40E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F