#1E217E#1E217E
#1E217E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.152 H 272.4°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).
Color values
| HEX | #1E217E |
|---|---|
| RGB | rgb(30, 33, 126) |
| HSL | hsl(238, 62%, 31%) |
| HSV | hsv(238, 76%, 49%) |
| CMYK | cmyk(76.2%, 73.8%, 0%, 50.6%) |
| CIE-LAB | lab(19.51, 32.30, -52.52) |
| CIE-LCH | lch(19.51, 61.66, 301.59°) |
| OKLab | oklab(31.97% 0.0064 -0.152) |
| OKLCH | oklch(31.97% 0.152 272.4) |
| XYZ | xyz(4.8439, 2.8696, 20.0332) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.75
Royal
#0C1793
ΔE00 4.12
Dark Royal Blue
#02066F
ΔE00 6.19
Darkblue
#00008B
ΔE00 6.56
Navy
#000080
ΔE00 6.58
Deep Blue
#040273
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E217E #7E7B1E
analogous
#1E517E #1E217E #4B1E7E
triadic
#1E217E #7E1E21 #217E1E
tetradic
#1E217E #7E1E51 #7E7B1E #1E7E4B
square
#1E217E #7E1E51 #7E7B1E #1E7E4B
split-complementary
#1E217E #7E4B1E #517E1E
monochromatic
#06071B #12144D #1E217E #2A2EAF #4448D2
Accessibility & contrast
On white
13.34
#1E217E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#1E217E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E217E
13.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E217E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E217E | 1.00 | 13.34 | 1.57 | 13.34 |
| #FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1e217e; /* rgb */ color: rgb(30, 33, 126); /* oklch */ color: oklch(32.0% 0.152 272.4);
Tailwind
colors: {
custom: {
50: '#6b5da4',
500: '#1e217e',
950: '#000000',
},
}SCSS
$custom: #1e217e; $custom-light: #6b5da4; $custom-dark: #000000;
JSON
{
"hex": "#1e217e",
"rgb": {
"r": 30,
"g": 33,
"b": 126
},
"hsl": {
"h": 238.125,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.31966,
"c": 0.1521,
"h": 272.4
},
"luminance": 0.0287
}Semantic roles & 50–950 ramp
primary
#1E217E
secondary
#B1AE47
accent
#E043E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F