#1E217B#1E217B
#1E217B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.148 H 272.7°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).
Color values
| HEX | #1E217B |
|---|---|
| RGB | rgb(30, 33, 123) |
| HSL | hsl(238, 61%, 30%) |
| HSV | hsv(238, 76%, 48%) |
| CMYK | cmyk(75.6%, 73.2%, 0%, 51.8%) |
| CIE-LAB | lab(19.20, 31.20, -51.14) |
| CIE-LCH | lch(19.20, 59.90, 301.39°) |
| OKLab | oklab(31.64% 0.0069 -0.1479) |
| OKLCH | oklch(31.64% 0.148 272.7) |
| XYZ | xyz(4.6532, 2.7933, 19.0290) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.47
Royal
#0C1793
ΔE00 4.55
Dark Royal Blue
#02066F
ΔE00 6.15
Darkblue (survey)
#030764
ΔE00 6.63
Deep Blue
#040273
ΔE00 6.64
Navy
#000080
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E217B #7B781E
analogous
#1E4F7B #1E217B #4A1E7B
triadic
#1E217B #7B1E21 #217B1E
tetradic
#1E217B #7B1E4F #7B781E #1E7B4A
square
#1E217B #7B1E4F #7B781E #1E7B4A
split-complementary
#1E217B #7B4A1E #4F7B1E
monochromatic
#060719 #12144A #1E217B #2A2EAC #4247D1
Accessibility & contrast
On white
13.47
#1E217B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1E217B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E217B
13.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E217B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E217B | 1.00 | 13.47 | 1.56 | 13.47 |
| #FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#002A79
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1e217b; /* rgb */ color: rgb(30, 33, 123); /* oklch */ color: oklch(31.6% 0.148 272.7);
Tailwind
colors: {
custom: {
50: '#6a5da2',
500: '#1e217b',
950: '#000000',
},
}SCSS
$custom: #1e217b; $custom-light: #6a5da2; $custom-dark: #000000;
JSON
{
"hex": "#1e217b",
"rgb": {
"r": 30,
"g": 33,
"b": 123
},
"hsl": {
"h": 238.065,
"s": 60.784,
"l": 30
},
"oklch": {
"l": 0.31643,
"c": 0.14808,
"h": 272.7
},
"luminance": 0.02794
}Semantic roles & 50–950 ramp
primary
#1E217B
secondary
#AEAB46
accent
#DF44E4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F