#1F1886#1F1886
#1F1886 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.171 H 273.4°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1886 |
|---|---|
| RGB | rgb(31, 24, 134) |
| HSL | hsl(244, 70%, 31%) |
| HSV | hsv(244, 82%, 53%) |
| CMYK | cmyk(76.9%, 82.1%, 0%, 47.5%) |
| CIE-LAB | lab(18.65, 40.38, -59.01) |
| CIE-LCH | lch(18.65, 71.50, 304.38°) |
| OKLab | oklab(31.64% 0.0102 -0.1707) |
| OKLCH | oklch(31.64% 0.171 273.4) |
| XYZ | xyz(5.1933, 2.6653, 22.7904) |
| Luminance | 0.0267 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.09
Midnight Blue
#191970
ΔE00 3.64
Darkblue
#00008B
ΔE00 4.02
Navy
#000080
ΔE00 4.36
Indigo (survey)
#380282
ΔE00 4.66
Cobalt Blue
#030AA7
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1886 #7F8618
analogous
#184886 #1F1886 #561886
triadic
#1F1886 #861F18 #18861F
tetradic
#1F1886 #861848 #7F8618 #188656
square
#1F1886 #861848 #7F8618 #188656
split-complementary
#1F1886 #865618 #488618
monochromatic
#07051E #130F52 #1F1886 #2B21BA #463CDC
Accessibility & contrast
On white
13.70
#1F1886 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1F1886 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1886
13.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1886 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1886 | 1.00 | 13.70 | 1.53 | 13.70 |
| #FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003289
Deuteranopia (green-blind)
#002884
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1f1886; /* rgb */ color: rgb(31, 24, 134); /* oklch */ color: oklch(31.6% 0.171 273.4);
Tailwind
colors: {
custom: {
50: '#6e58aa',
500: '#1f1886',
950: '#000000',
},
}SCSS
$custom: #1f1886; $custom-light: #6e58aa; $custom-dark: #000000;
JSON
{
"hex": "#1f1886",
"rgb": {
"r": 31,
"g": 24,
"b": 134
},
"hsl": {
"h": 243.818,
"s": 69.62,
"l": 30.98
},
"oklch": {
"l": 0.31642,
"c": 0.17101,
"h": 273.4
},
"luminance": 0.02666
}Semantic roles & 50–950 ramp
primary
#1F1886
secondary
#B2BA40
accent
#EC3BE1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F