#1F1B86#1F1B86
#1F1B86 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.168 H 273.1°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1B86 |
|---|---|
| RGB | rgb(31, 27, 134) |
| HSL | hsl(242, 66%, 32%) |
| HSV | hsv(242, 80%, 53%) |
| CMYK | cmyk(76.9%, 79.9%, 0%, 47.5%) |
| CIE-LAB | lab(19.21, 38.77, -58.08) |
| CIE-LCH | lch(19.21, 69.83, 303.72°) |
| OKLab | oklab(32.03% 0.009 -0.1681) |
| OKLCH | oklch(32.03% 0.168 273.1) |
| XYZ | xyz(5.2586, 2.7959, 22.8121) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.24
Midnight Blue
#191970
ΔE00 3.52
Darkblue
#00008B
ΔE00 4.64
Navy
#000080
ΔE00 4.97
Cobalt Blue
#030AA7
ΔE00 5.13
Indigo (survey)
#380282
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1B86 #82861B
analogous
#1B4D86 #1F1B86 #551B86
triadic
#1F1B86 #861F1B #1B861F
tetradic
#1F1B86 #861B4D #82861B #1B8655
square
#1F1B86 #861B4D #82861B #1B8655
split-complementary
#1F1B86 #86551B #4D861B
monochromatic
#070620 #131153 #1F1B86 #2B25B9 #4842D9
Accessibility & contrast
On white
13.47
#1F1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1F1B86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1B86
13.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1B86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1B86 | 1.00 | 13.47 | 1.56 | 13.47 |
| #FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003489
Deuteranopia (green-blind)
#002984
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1f1b86; /* rgb */ color: rgb(31, 27, 134); /* oklch */ color: oklch(32.0% 0.168 273.1);
Tailwind
colors: {
custom: {
50: '#6e5aaa',
500: '#1f1b86',
950: '#000000',
},
}SCSS
$custom: #1f1b86; $custom-light: #6e5aaa; $custom-dark: #000000;
JSON
{
"hex": "#1f1b86",
"rgb": {
"r": 31,
"g": 27,
"b": 134
},
"hsl": {
"h": 242.243,
"s": 66.46,
"l": 31.569
},
"oklch": {
"l": 0.32031,
"c": 0.16831,
"h": 273.1
},
"luminance": 0.02796
}Semantic roles & 50–950 ramp
primary
#1F1B86
secondary
#B5B944
accent
#E93EE3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F