#1F3486#1F3486
#1F3486 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.3% C 0.140 H 267.7°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3486 |
|---|---|
| RGB | rgb(31, 52, 134) |
| HSL | hsl(228, 62%, 32%) |
| HSV | hsv(228, 77%, 53%) |
| CMYK | cmyk(76.9%, 61.2%, 0%, 47.5%) |
| CIE-LAB | lab(25.16, 22.71, -48.30) |
| CIE-LCH | lch(25.16, 53.37, 295.18°) |
| OKLab | oklab(36.35% -0.0055 -0.1395) |
| OKLCH | oklch(36.35% 0.14 267.7) |
| XYZ | xyz(6.0946, 4.4679, 23.0908) |
| Luminance | 0.0447 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.52
Blueberry
#464196
ΔE00 6.47
Darkslateblue
#483D8B
ΔE00 6.61
Darkish Blue
#014182
ΔE00 6.67
Marine
#042E60
ΔE00 6.82
Marine Blue
#01386A
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3486 #86711F
analogous
#1F6886 #1F3486 #3E1F86
triadic
#1F3486 #861F34 #34861F
tetradic
#1F3486 #861F68 #86711F #1F863E
square
#1F3486 #861F68 #86711F #1F863E
split-complementary
#1F3486 #863E1F #68861F
monochromatic
#080D23 #142154 #1F3486 #2A47B8 #4A67D5
Accessibility & contrast
On white
11.09
#1F3486 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#1F3486 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3486
11.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3486 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3486 | 1.00 | 11.09 | 1.89 | 11.09 |
| #FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1f3486; /* rgb */ color: rgb(31, 52, 134); /* oklch */ color: oklch(36.3% 0.140 267.7);
Tailwind
colors: {
custom: {
50: '#6b6baa',
500: '#1f3486',
950: '#000000',
},
}SCSS
$custom: #1f3486; $custom-light: #6b6baa; $custom-dark: #000000;
JSON
{
"hex": "#1f3486",
"rgb": {
"r": 31,
"g": 52,
"b": 134
},
"hsl": {
"h": 227.767,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.36348,
"c": 0.13957,
"h": 267.7
},
"luminance": 0.04469
}Semantic roles & 50–950 ramp
primary
#1F3486
secondary
#B8A149
accent
#C442E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F