#1E217F#1E217F
#1E217F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.153 H 272.3°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).
Color values
| HEX | #1E217F |
|---|---|
| RGB | rgb(30, 33, 127) |
| HSL | hsl(238, 62%, 31%) |
| HSV | hsv(238, 76%, 50%) |
| CMYK | cmyk(76.4%, 74%, 0%, 50.2%) |
| CIE-LAB | lab(19.62, 32.66, -52.98) |
| CIE-LCH | lch(19.62, 62.24, 301.66°) |
| OKLab | oklab(32.07% 0.0063 -0.1533) |
| OKLCH | oklch(32.07% 0.153 272.3) |
| XYZ | xyz(4.9088, 2.8955, 20.3748) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.86
Royal
#0C1793
ΔE00 3.98
Dark Royal Blue
#02066F
ΔE00 6.21
Darkblue
#00008B
ΔE00 6.48
Navy
#000080
ΔE00 6.54
Deep Blue
#040273
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E217F #7F7C1E
analogous
#1E517F #1E217F #4B1E7F
triadic
#1E217F #7F1E21 #217F1E
tetradic
#1E217F #7F1E51 #7F7C1E #1E7F4B
square
#1E217F #7F1E51 #7F7C1E #1E7F4B
split-complementary
#1E217F #7F4B1E #517F1E
monochromatic
#07071C #12144D #1E217F #2A2EB1 #4449D3
Accessibility & contrast
On white
13.30
#1E217F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#1E217F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E217F
13.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E217F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E217F | 1.00 | 13.30 | 1.58 | 13.30 |
| #FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002B7D
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1e217f; /* rgb */ color: rgb(30, 33, 127); /* oklch */ color: oklch(32.1% 0.153 272.3);
Tailwind
colors: {
custom: {
50: '#6b5da5',
500: '#1e217f',
950: '#000000',
},
}SCSS
$custom: #1e217f; $custom-light: #6b5da5; $custom-dark: #000000;
JSON
{
"hex": "#1e217f",
"rgb": {
"r": 30,
"g": 33,
"b": 127
},
"hsl": {
"h": 238.144,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.32075,
"c": 0.15343,
"h": 272.3
},
"luminance": 0.02896
}Semantic roles & 50–950 ramp
primary
#1E217F
secondary
#B2AF47
accent
#E043E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F