#1F1F86#1F1F86
#1F1F86 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.164 H 272.5°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1F86 |
|---|---|
| RGB | rgb(31, 31, 134) |
| HSL | hsl(240, 62%, 32%) |
| HSV | hsv(240, 77%, 53%) |
| CMYK | cmyk(76.9%, 76.9%, 0%, 47.5%) |
| CIE-LAB | lab(20.01, 36.48, -56.75) |
| CIE-LCH | lch(20.01, 67.47, 302.73°) |
| OKLab | oklab(32.6% 0.0073 -0.1642) |
| OKLCH | oklch(32.6% 0.164 272.5) |
| XYZ | xyz(5.3567, 2.9919, 22.8448) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.76
Midnight Blue
#191970
ΔE00 3.58
Darkblue
#00008B
ΔE00 5.56
Cobalt Blue
#030AA7
ΔE00 5.68
Navy
#000080
ΔE00 5.88
Indigo (survey)
#380282
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1F86 #86861F
analogous
#1F5386 #1F1F86 #531F86
triadic
#1F1F86 #861F1F #1F861F
tetradic
#1F1F86 #861F53 #86861F #1F8653
square
#1F1F86 #861F53 #86861F #1F8653
split-complementary
#1F1F86 #86531F #53861F
monochromatic
#080823 #141454 #1F1F86 #2A2AB8 #4A4AD5
Accessibility & contrast
On white
13.14
#1F1F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1F1F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1F86
13.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1F86 | 1.00 | 13.14 | 1.60 | 13.14 |
| #FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.14 | 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: #1f1f86; /* rgb */ color: rgb(31, 31, 134); /* oklch */ color: oklch(32.6% 0.164 272.5);
Tailwind
colors: {
custom: {
50: '#6d5caa',
500: '#1f1f86',
950: '#000000',
},
}SCSS
$custom: #1f1f86; $custom-light: #6d5caa; $custom-dark: #000000;
JSON
{
"hex": "#1f1f86",
"rgb": {
"r": 31,
"g": 31,
"b": 134
},
"hsl": {
"h": 240,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.32599,
"c": 0.16441,
"h": 272.5
},
"luminance": 0.02993
}Semantic roles & 50–950 ramp
primary
#1F1F86
secondary
#B8B849
accent
#E542E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F