#1E2181#1E2181
#1E2181 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.156 H 272.2°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2181 |
|---|---|
| RGB | rgb(30, 33, 129) |
| HSL | hsl(238, 62%, 31%) |
| HSV | hsv(238, 77%, 51%) |
| CMYK | cmyk(76.7%, 74.4%, 0%, 49.4%) |
| CIE-LAB | lab(19.84, 33.39, -53.89) |
| CIE-LCH | lch(19.84, 63.40, 301.78°) |
| OKLab | oklab(32.29% 0.006 -0.156) |
| OKLCH | oklch(32.29% 0.156 272.2) |
| XYZ | xyz(5.0404, 2.9482, 21.0680) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.09
Royal
#0C1793
ΔE00 3.72
Dark Royal Blue
#02066F
ΔE00 6.28
Darkblue
#00008B
ΔE00 6.34
Navy
#000080
ΔE00 6.47
Deep Blue
#040273
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2181 #817E1E
analogous
#1E5281 #1E2181 #4C1E81
triadic
#1E2181 #811E21 #21811E
tetradic
#1E2181 #811E52 #817E1E #1E814C
square
#1E2181 #811E52 #817E1E #1E814C
split-complementary
#1E2181 #814C1E #52811E
monochromatic
#07081E #12144F #1E2181 #2A2EB3 #464AD4
Accessibility & contrast
On white
13.21
#1E2181 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#1E2181 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2181
13.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2181 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2181 | 1.00 | 13.21 | 1.59 | 13.21 |
| #FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#002B7F
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1e2181; /* rgb */ color: rgb(30, 33, 129); /* oklch */ color: oklch(32.3% 0.156 272.2);
Tailwind
colors: {
custom: {
50: '#6b5da7',
500: '#1e2181',
950: '#000000',
},
}SCSS
$custom: #1e2181; $custom-light: #6b5da7; $custom-dark: #000000;
JSON
{
"hex": "#1e2181",
"rgb": {
"r": 30,
"g": 33,
"b": 129
},
"hsl": {
"h": 238.182,
"s": 62.264,
"l": 31.176
},
"oklch": {
"l": 0.32293,
"c": 0.15607,
"h": 272.2
},
"luminance": 0.02949
}Semantic roles & 50–950 ramp
primary
#1E2181
secondary
#B4B147
accent
#E042E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F