#1F2086#1F2086
#1F2086 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.163 H 272.4°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2086 |
|---|---|
| RGB | rgb(31, 32, 134) |
| HSL | hsl(239, 62%, 32%) |
| HSV | hsv(239, 77%, 53%) |
| CMYK | cmyk(76.9%, 76.1%, 0%, 47.5%) |
| CIE-LAB | lab(20.22, 35.88, -56.40) |
| CIE-LCH | lch(20.22, 66.85, 302.46°) |
| OKLab | oklab(32.75% 0.0068 -0.1632) |
| OKLCH | oklch(32.75% 0.163 272.4) |
| XYZ | xyz(5.3832, 3.0450, 22.8537) |
| Luminance | 0.0305 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.93
Midnight Blue
#191970
ΔE00 3.64
Darkblue
#00008B
ΔE00 5.81
Cobalt Blue
#030AA7
ΔE00 5.84
Navy
#000080
ΔE00 6.13
Indigo (survey)
#380282
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2086 #86851F
analogous
#1F5486 #1F2086 #511F86
triadic
#1F2086 #861F20 #20861F
tetradic
#1F2086 #861F54 #86851F #1F8651
square
#1F2086 #861F54 #86851F #1F8651
split-complementary
#1F2086 #86511F #54861F
monochromatic
#080823 #141454 #1F2086 #2A2CB8 #4A4CD5
Accessibility & contrast
On white
13.05
#1F2086 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#1F2086 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2086
13.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2086 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2086 | 1.00 | 13.05 | 1.61 | 13.05 |
| #FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1f2086; /* rgb */ color: rgb(31, 32, 134); /* oklch */ color: oklch(32.7% 0.163 272.4);
Tailwind
colors: {
custom: {
50: '#6d5daa',
500: '#1f2086',
950: '#000000',
},
}SCSS
$custom: #1f2086; $custom-light: #6d5daa; $custom-dark: #000000;
JSON
{
"hex": "#1f2086",
"rgb": {
"r": 31,
"g": 32,
"b": 134
},
"hsl": {
"h": 239.417,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.32749,
"c": 0.16338,
"h": 272.4
},
"luminance": 0.03046
}Semantic roles & 50–950 ramp
primary
#1F2086
secondary
#B8B749
accent
#E442E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F