#1F4086#1F4086
#1F4086 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 38.9% C 0.124 H 263.0°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4086 |
|---|---|
| RGB | rgb(31, 64, 134) |
| HSL | hsl(221, 62%, 32%) |
| HSV | hsv(221, 77%, 53%) |
| CMYK | cmyk(76.9%, 52.2%, 0%, 47.5%) |
| CIE-LAB | lab(28.59, 14.36, -42.74) |
| CIE-LCH | lch(28.59, 45.09, 288.57°) |
| OKLab | oklab(38.93% -0.0152 -0.1229) |
| OKLCH | oklch(38.93% 0.124 263) |
| XYZ | xyz(6.7000, 5.6786, 23.2926) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.89
Darkish Blue
#014182
ΔE00 3.06
Twilight Blue
#0A437A
ΔE00 4.06
Marine Blue
#01386A
ΔE00 5.23
Cobalt
#0047AB
ΔE00 5.29
Prussian Blue
#004577
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4086 #86651F
analogous
#1F7386 #1F4086 #321F86
triadic
#1F4086 #861F40 #40861F
tetradic
#1F4086 #861F73 #86651F #1F8632
square
#1F4086 #861F73 #86651F #1F8632
split-complementary
#1F4086 #86321F #73861F
monochromatic
#081123 #142854 #1F4086 #2A58B8 #4A77D5
Accessibility & contrast
On white
9.83
#1F4086 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#1F4086 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4086
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4086 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4086 | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#144889
Deuteranopia (green-blind)
#003F85
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1f4086; /* rgb */ color: rgb(31, 64, 134); /* oklch */ color: oklch(38.9% 0.124 263.0);
Tailwind
colors: {
custom: {
50: '#6a74aa',
500: '#1f4086',
950: '#000000',
},
}SCSS
$custom: #1f4086; $custom-light: #6a74aa; $custom-dark: #000000;
JSON
{
"hex": "#1f4086",
"rgb": {
"r": 31,
"g": 64,
"b": 134
},
"hsl": {
"h": 220.777,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.38931,
"c": 0.12385,
"h": 263
},
"luminance": 0.05679
}Semantic roles & 50–950 ramp
primary
#1F4086
secondary
#B89449
accent
#B142E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F