#1E217A#1E217A
#1E217A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.147 H 272.7°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).
Color values
| HEX | #1E217A |
|---|---|
| RGB | rgb(30, 33, 122) |
| HSL | hsl(238, 61%, 30%) |
| HSV | hsv(238, 75%, 48%) |
| CMYK | cmyk(75.4%, 73%, 0%, 52.2%) |
| CIE-LAB | lab(19.09, 30.84, -50.67) |
| CIE-LCH | lch(19.09, 59.32, 301.32°) |
| OKLab | oklab(31.54% 0.007 -0.1466) |
| OKLCH | oklch(31.54% 0.147 272.7) |
| XYZ | xyz(4.5909, 2.7684, 18.7010) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.39
Royal
#0C1793
ΔE00 4.70
Dark Royal Blue
#02066F
ΔE00 6.14
Darkblue (survey)
#030764
ΔE00 6.58
Deep Blue
#040273
ΔE00 6.66
Navy
#000080
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E217A #7A771E
analogous
#1E4F7A #1E217A #491E7A
triadic
#1E217A #7A1E21 #217A1E
tetradic
#1E217A #7A1E4F #7A771E #1E7A49
square
#1E217A #7A1E4F #7A771E #1E7A49
split-complementary
#1E217A #7A491E #4F7A1E
monochromatic
#060719 #121449 #1E217A #2A2EAB #4247D0
Accessibility & contrast
On white
13.52
#1E217A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1E217A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E217A
13.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E217A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E217A | 1.00 | 13.52 | 1.55 | 13.52 |
| #FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#002A78
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1e217a; /* rgb */ color: rgb(30, 33, 122); /* oklch */ color: oklch(31.5% 0.147 272.7);
Tailwind
colors: {
custom: {
50: '#695da1',
500: '#1e217a',
950: '#000000',
},
}SCSS
$custom: #1e217a; $custom-light: #695da1; $custom-dark: #000000;
JSON
{
"hex": "#1e217a",
"rgb": {
"r": 30,
"g": 33,
"b": 122
},
"hsl": {
"h": 238.043,
"s": 60.526,
"l": 29.804
},
"oklch": {
"l": 0.31536,
"c": 0.14673,
"h": 272.7
},
"luminance": 0.02769
}Semantic roles & 50–950 ramp
primary
#1E217A
secondary
#AEAA46
accent
#DE44E4
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F