#1E2186#1E2186
#1E2186 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.163 H 271.8°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2186 |
|---|---|
| RGB | rgb(30, 33, 134) |
| HSL | hsl(238, 63%, 32%) |
| HSV | hsv(238, 78%, 53%) |
| CMYK | cmyk(77.6%, 75.4%, 0%, 47.5%) |
| CIE-LAB | lab(20.38, 35.18, -56.15) |
| CIE-LCH | lch(20.38, 66.26, 302.07°) |
| OKLab | oklab(32.84% 0.0051 -0.1625) |
| OKLCH | oklch(32.84% 0.163 271.8) |
| XYZ | xyz(5.3809, 3.0844, 22.8614) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.11
Midnight Blue
#191970
ΔE00 3.72
Cobalt Blue
#030AA7
ΔE00 6.02
Darkblue
#00008B
ΔE00 6.07
Navy
#000080
ΔE00 6.38
Dark Royal Blue
#02066F
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2186 #86831E
analogous
#1E5586 #1E2186 #4F1E86
triadic
#1E2186 #861E21 #21861E
tetradic
#1E2186 #861E55 #86831E #1E864F
square
#1E2186 #861E55 #86831E #1E864F
split-complementary
#1E2186 #864F1E #55861E
monochromatic
#080822 #131554 #1E2186 #292DB8 #484CD6
Accessibility & contrast
On white
12.99
#1E2186 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#1E2186 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2186
12.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2186 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2186 | 1.00 | 12.99 | 1.62 | 12.99 |
| #FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1e2186; /* rgb */ color: rgb(30, 33, 134); /* oklch */ color: oklch(32.8% 0.163 271.8);
Tailwind
colors: {
custom: {
50: '#6d5daa',
500: '#1e2186',
950: '#000000',
},
}SCSS
$custom: #1e2186; $custom-light: #6d5daa; $custom-dark: #000000;
JSON
{
"hex": "#1e2186",
"rgb": {
"r": 30,
"g": 33,
"b": 134
},
"hsl": {
"h": 238.269,
"s": 63.415,
"l": 32.157
},
"oklch": {
"l": 0.32843,
"c": 0.16261,
"h": 271.8
},
"luminance": 0.03085
}Semantic roles & 50–950 ramp
primary
#1E2186
secondary
#B8B547
accent
#E241E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F