#1F1E86#1F1E86
#1F1E86 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.165 H 272.7°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1E86 |
|---|---|
| RGB | rgb(31, 30, 134) |
| HSL | hsl(241, 63%, 32%) |
| HSV | hsv(241, 78%, 53%) |
| CMYK | cmyk(76.9%, 77.6%, 0%, 47.5%) |
| CIE-LAB | lab(19.80, 37.07, -57.10) |
| CIE-LCH | lch(19.80, 68.07, 302.99°) |
| OKLab | oklab(32.45% 0.0077 -0.1652) |
| OKLCH | oklch(32.45% 0.165 272.7) |
| XYZ | xyz(5.3310, 2.9405, 22.8363) |
| Luminance | 0.0294 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.60
Midnight Blue
#191970
ΔE00 3.54
Darkblue
#00008B
ΔE00 5.32
Cobalt Blue
#030AA7
ΔE00 5.53
Navy
#000080
ΔE00 5.64
Indigo (survey)
#380282
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1E86 #85861E
analogous
#1E5186 #1F1E86 #531E86
triadic
#1F1E86 #861F1E #1E861F
tetradic
#1F1E86 #861E51 #85861E #1E8653
square
#1F1E86 #861E51 #85861E #1E8653
split-complementary
#1F1E86 #86531E #51861E
monochromatic
#080822 #131354 #1F1E86 #2B29B8 #4A48D6
Accessibility & contrast
On white
13.22
#1F1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#1F1E86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1E86
13.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1E86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1E86 | 1.00 | 13.22 | 1.59 | 13.22 |
| #FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002B84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1f1e86; /* rgb */ color: rgb(31, 30, 134); /* oklch */ color: oklch(32.5% 0.165 272.7);
Tailwind
colors: {
custom: {
50: '#6d5baa',
500: '#1f1e86',
950: '#000000',
},
}SCSS
$custom: #1f1e86; $custom-light: #6d5baa; $custom-dark: #000000;
JSON
{
"hex": "#1f1e86",
"rgb": {
"r": 31,
"g": 30,
"b": 134
},
"hsl": {
"h": 240.577,
"s": 63.415,
"l": 32.157
},
"oklch": {
"l": 0.32452,
"c": 0.16542,
"h": 272.7
},
"luminance": 0.02941
}Semantic roles & 50–950 ramp
primary
#1F1E86
secondary
#B7B847
accent
#E641E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F