#1F1C86#1F1C86
#1F1C86 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.167 H 272.9°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1C86 |
|---|---|
| RGB | rgb(31, 28, 134) |
| HSL | hsl(242, 65%, 32%) |
| HSV | hsv(242, 79%, 53%) |
| CMYK | cmyk(76.9%, 79.1%, 0%, 47.5%) |
| CIE-LAB | lab(19.40, 38.21, -57.76) |
| CIE-LCH | lch(19.40, 69.26, 303.49°) |
| OKLab | oklab(32.17% 0.0086 -0.1671) |
| OKLCH | oklch(32.17% 0.167 272.9) |
| XYZ | xyz(5.2820, 2.8425, 22.8199) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.34
Midnight Blue
#191970
ΔE00 3.51
Darkblue
#00008B
ΔE00 4.86
Navy
#000080
ΔE00 5.19
Cobalt Blue
#030AA7
ΔE00 5.25
Indigo (survey)
#380282
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1C86 #83861C
analogous
#1C4E86 #1F1C86 #541C86
triadic
#1F1C86 #861F1C #1C861F
tetradic
#1F1C86 #861C4E #83861C #1C8654
square
#1F1C86 #861C4E #83861C #1C8654
split-complementary
#1F1C86 #86541C #4E861C
monochromatic
#080721 #131153 #1F1C86 #2B27B9 #4944D8
Accessibility & contrast
On white
13.39
#1F1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#1F1C86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1C86
13.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1C86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1C86 | 1.00 | 13.39 | 1.57 | 13.39 |
| #FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003489
Deuteranopia (green-blind)
#002A84
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1f1c86; /* rgb */ color: rgb(31, 28, 134); /* oklch */ color: oklch(32.2% 0.167 272.9);
Tailwind
colors: {
custom: {
50: '#6e5aaa',
500: '#1f1c86',
950: '#000000',
},
}SCSS
$custom: #1f1c86; $custom-light: #6e5aaa; $custom-dark: #000000;
JSON
{
"hex": "#1f1c86",
"rgb": {
"r": 31,
"g": 28,
"b": 134
},
"hsl": {
"h": 241.698,
"s": 65.432,
"l": 31.765
},
"oklch": {
"l": 0.32168,
"c": 0.16737,
"h": 272.9
},
"luminance": 0.02843
}Semantic roles & 50–950 ramp
primary
#1F1C86
secondary
#B6B945
accent
#E83FE4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F