#1E218D#1E218D
#1E218D is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.172 H 271.3°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).
Color values
| HEX | #1E218D |
|---|---|
| RGB | rgb(30, 33, 141) |
| HSL | hsl(238, 65%, 34%) |
| HSV | hsv(238, 79%, 55%) |
| CMYK | cmyk(78.7%, 76.6%, 0%, 44.7%) |
| CIE-LAB | lab(21.16, 37.66, -59.25) |
| CIE-LCH | lch(21.16, 70.20, 302.44°) |
| OKLab | oklab(33.63% 0.0039 -0.1715) |
| OKLCH | oklch(33.63% 0.172 271.3) |
| XYZ | xyz(5.8854, 3.2862, 25.5183) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.50
Midnight Blue
#191970
ΔE00 4.66
Cobalt Blue
#030AA7
ΔE00 5.19
Royal Blue (survey)
#0504AA
ΔE00 5.79
Darkblue
#00008B
ΔE00 5.87
Indigo Blue
#3A18B1
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E218D #8D8A1E
analogous
#1E588D #1E218D #521E8D
triadic
#1E218D #8D1E21 #218D1E
tetradic
#1E218D #8D1E58 #8D8A1E #1E8D52
square
#1E218D #8D1E58 #8D8A1E #1E8D52
split-complementary
#1E218D #8D521E #588D1E
monochromatic
#090928 #13155B #1E218D #292DBF #4C50D9
Accessibility & contrast
On white
12.67
#1E218D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#1E218D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E218D
12.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E218D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E218D | 1.00 | 12.67 | 1.66 | 12.67 |
| #FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#002D8B
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1e218d; /* rgb */ color: rgb(30, 33, 141); /* oklch */ color: oklch(33.6% 0.172 271.3);
Tailwind
colors: {
custom: {
50: '#6f5eb0',
500: '#1e218d',
950: '#000000',
},
}SCSS
$custom: #1e218d; $custom-light: #6f5eb0; $custom-dark: #000000;
JSON
{
"hex": "#1e218d",
"rgb": {
"r": 30,
"g": 33,
"b": 141
},
"hsl": {
"h": 238.378,
"s": 64.912,
"l": 33.529
},
"oklch": {
"l": 0.33626,
"c": 0.17158,
"h": 271.3
},
"luminance": 0.03287
}Semantic roles & 50–950 ramp
primary
#1E218D
secondary
#BCB94B
accent
#E340E8
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980