#1F1686#1F1686
#1F1686 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.173 H 273.6°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1686 |
|---|---|
| RGB | rgb(31, 22, 134) |
| HSL | hsl(245, 72%, 31%) |
| HSV | hsv(245, 84%, 53%) |
| CMYK | cmyk(76.9%, 83.6%, 0%, 47.5%) |
| CIE-LAB | lab(18.30, 41.39, -59.58) |
| CIE-LCH | lch(18.30, 72.55, 304.79°) |
| OKLab | oklab(31.4% 0.0109 -0.1723) |
| OKLCH | oklch(31.4% 0.173 273.6) |
| XYZ | xyz(5.1536, 2.5858, 22.7771) |
| Luminance | 0.0259 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.11
Darkblue
#00008B
ΔE00 3.64
Midnight Blue
#191970
ΔE00 3.77
Navy
#000080
ΔE00 3.99
Indigo (survey)
#380282
ΔE00 4.34
Cobalt Blue
#030AA7
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1686 #7D8616
analogous
#164586 #1F1686 #571686
triadic
#1F1686 #861F16 #16861F
tetradic
#1F1686 #861645 #7D8616 #168657
square
#1F1686 #861645 #7D8616 #168657
split-complementary
#1F1686 #865716 #458616
monochromatic
#07051D #130D51 #1F1686 #2B1FBB #4538DE
Accessibility & contrast
On white
13.84
#1F1686 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#1F1686 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1686
13.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1686 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1686 | 1.00 | 13.84 | 1.52 | 13.84 |
| #FFFFFF | 13.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003289
Deuteranopia (green-blind)
#002784
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1f1686; /* rgb */ color: rgb(31, 22, 134); /* oklch */ color: oklch(31.4% 0.173 273.6);
Tailwind
colors: {
custom: {
50: '#6e57ab',
500: '#1f1686',
950: '#000000',
},
}SCSS
$custom: #1f1686; $custom-light: #6e57ab; $custom-dark: #000000;
JSON
{
"hex": "#1f1686",
"rgb": {
"r": 31,
"g": 22,
"b": 134
},
"hsl": {
"h": 244.821,
"s": 71.795,
"l": 30.588
},
"oklch": {
"l": 0.314,
"c": 0.17269,
"h": 273.6
},
"luminance": 0.02586
}Semantic roles & 50–950 ramp
primary
#1F1686
secondary
#B0BA3E
accent
#EF39E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F