#1F4286#1F4286
#1F4286 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.4% C 0.121 H 262.0°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4286 |
|---|---|
| RGB | rgb(31, 66, 134) |
| HSL | hsl(220, 62%, 32%) |
| HSV | hsv(220, 77%, 53%) |
| CMYK | cmyk(76.9%, 50.7%, 0%, 47.5%) |
| CIE-LAB | lab(29.18, 12.98, -41.78) |
| CIE-LCH | lch(29.18, 43.75, 287.26°) |
| OKLab | oklab(39.38% -0.0169 -0.1201) |
| OKLCH | oklch(39.38% 0.121 262) |
| XYZ | xyz(6.8148, 5.9082, 23.3309) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.25
Darkish Blue
#014182
ΔE00 2.65
Twilight Blue
#0A437A
ΔE00 3.56
Cobalt
#0047AB
ΔE00 5.06
Prussian Blue
#004577
ΔE00 5.14
Marine Blue
#01386A
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4286 #86631F
analogous
#1F7586 #1F4286 #301F86
triadic
#1F4286 #861F42 #42861F
tetradic
#1F4286 #861F75 #86631F #1F8630
square
#1F4286 #861F75 #86631F #1F8630
split-complementary
#1F4286 #86301F #75861F
monochromatic
#081123 #142A54 #1F4286 #2A5AB8 #4A79D5
Accessibility & contrast
On white
9.63
#1F4286 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#1F4286 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4286
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4286 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4286 | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A4A88
Deuteranopia (green-blind)
#004085
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1f4286; /* rgb */ color: rgb(31, 66, 134); /* oklch */ color: oklch(39.4% 0.121 262.0);
Tailwind
colors: {
custom: {
50: '#6a75aa',
500: '#1f4286',
950: '#000000',
},
}SCSS
$custom: #1f4286; $custom-light: #6a75aa; $custom-dark: #000000;
JSON
{
"hex": "#1f4286",
"rgb": {
"r": 31,
"g": 66,
"b": 134
},
"hsl": {
"h": 219.612,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.39384,
"c": 0.12125,
"h": 262
},
"luminance": 0.05909
}Semantic roles & 50–950 ramp
primary
#1F4286
secondary
#B89249
accent
#AE42E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F