#1F2F86#1F2F86
#1F2F86 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.146 H 269.2°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2F86 |
|---|---|
| RGB | rgb(31, 47, 134) |
| HSL | hsl(231, 62%, 32%) |
| HSV | hsv(231, 77%, 53%) |
| CMYK | cmyk(76.9%, 64.9%, 0%, 47.5%) |
| CIE-LAB | lab(23.82, 26.15, -50.49) |
| CIE-LCH | lch(23.82, 56.86, 297.38°) |
| OKLab | oklab(35.35% -0.0019 -0.1459) |
| OKLCH | oklch(35.35% 0.146 269.2) |
| XYZ | xyz(5.8832, 4.0449, 23.0203) |
| Luminance | 0.0405 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.68
Midnight Blue
#191970
ΔE00 6.58
Darkslateblue
#483D8B
ΔE00 6.80
Royal
#0C1793
ΔE00 6.85
Blueberry
#464196
ΔE00 6.95
Marine
#042E60
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2F86 #86761F
analogous
#1F6286 #1F2F86 #431F86
triadic
#1F2F86 #861F2F #2F861F
tetradic
#1F2F86 #861F62 #86761F #1F8643
square
#1F2F86 #861F62 #86761F #1F8643
split-complementary
#1F2F86 #86431F #62861F
monochromatic
#080C23 #141E54 #1F2F86 #2A40B8 #4A60D5
Accessibility & contrast
On white
11.61
#1F2F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#1F2F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2F86
11.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2F86 | 1.00 | 11.61 | 1.81 | 11.61 |
| #FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1f2f86; /* rgb */ color: rgb(31, 47, 134); /* oklch */ color: oklch(35.4% 0.146 269.2);
Tailwind
colors: {
custom: {
50: '#6c67aa',
500: '#1f2f86',
950: '#000000',
},
}SCSS
$custom: #1f2f86; $custom-light: #6c67aa; $custom-dark: #000000;
JSON
{
"hex": "#1f2f86",
"rgb": {
"r": 31,
"g": 47,
"b": 134
},
"hsl": {
"h": 230.68,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.35354,
"c": 0.14596,
"h": 269.2
},
"luminance": 0.04046
}Semantic roles & 50–950 ramp
primary
#1F2F86
secondary
#B8A749
accent
#CC42E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F