#1F1986#1F1986
#1F1986 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.170 H 273.3°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1986 |
|---|---|
| RGB | rgb(31, 25, 134) |
| HSL | hsl(243, 69%, 31%) |
| HSV | hsv(243, 81%, 53%) |
| CMYK | cmyk(76.9%, 81.3%, 0%, 47.5%) |
| CIE-LAB | lab(18.83, 39.85, -58.71) |
| CIE-LCH | lch(18.83, 70.95, 304.17°) |
| OKLab | oklab(31.77% 0.0098 -0.1698) |
| OKLCH | oklch(31.77% 0.17 273.3) |
| XYZ | xyz(5.2143, 2.7073, 22.7974) |
| Luminance | 0.0271 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.12
Midnight Blue
#191970
ΔE00 3.59
Darkblue
#00008B
ΔE00 4.22
Navy
#000080
ΔE00 4.55
Indigo (survey)
#380282
ΔE00 4.83
Cobalt Blue
#030AA7
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1986 #808619
analogous
#194986 #1F1986 #551986
triadic
#1F1986 #861F19 #19861F
tetradic
#1F1986 #861949 #808619 #198655
square
#1F1986 #861949 #808619 #198655
split-complementary
#1F1986 #865519 #498619
monochromatic
#07061F #130F52 #1F1986 #2B23BA #473EDB
Accessibility & contrast
On white
13.62
#1F1986 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#1F1986 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1986
13.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1986 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1986 | 1.00 | 13.62 | 1.54 | 13.62 |
| #FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002884
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1f1986; /* rgb */ color: rgb(31, 25, 134); /* oklch */ color: oklch(31.8% 0.170 273.3);
Tailwind
colors: {
custom: {
50: '#6e58aa',
500: '#1f1986',
950: '#000000',
},
}SCSS
$custom: #1f1986; $custom-light: #6e58aa; $custom-dark: #000000;
JSON
{
"hex": "#1f1986",
"rgb": {
"r": 31,
"g": 25,
"b": 134
},
"hsl": {
"h": 243.303,
"s": 68.553,
"l": 31.176
},
"oklch": {
"l": 0.31768,
"c": 0.17013,
"h": 273.3
},
"luminance": 0.02708
}Semantic roles & 50–950 ramp
primary
#1F1986
secondary
#B3BA41
accent
#EB3CE2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F