#1F4387#1F4387
#1F4387 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.7% C 0.121 H 261.6°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4387 |
|---|---|
| RGB | rgb(31, 67, 135) |
| HSL | hsl(219, 63%, 33%) |
| HSV | hsv(219, 77%, 53%) |
| CMYK | cmyk(77%, 50.4%, 0%, 47.1%) |
| CIE-LAB | lab(29.55, 12.69, -41.81) |
| CIE-LCH | lch(29.55, 43.69, 286.89°) |
| OKLab | oklab(39.69% -0.0176 -0.1201) |
| OKLCH | oklch(39.69% 0.121 261.6) |
| XYZ | xyz(6.9438, 6.0541, 23.7196) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.90
Darkish Blue
#014182
ΔE00 2.59
Twilight Blue
#0A437A
ΔE00 3.46
Cobalt
#0047AB
ΔE00 4.86
Prussian Blue
#004577
ΔE00 4.99
Marine Blue
#01386A
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4387 #87631F
analogous
#1F7787 #1F4387 #2F1F87
triadic
#1F4387 #871F43 #43871F
tetradic
#1F4387 #871F77 #87631F #1F872F
square
#1F4387 #871F77 #87631F #1F872F
split-complementary
#1F4387 #872F1F #77871F
monochromatic
#081223 #142A55 #1F4387 #2A5CB9 #4B7BD6
Accessibility & contrast
On white
9.50
#1F4387 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#1F4387 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4387
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4387 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4387 | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C4B89
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1f4387; /* rgb */ color: rgb(31, 67, 135); /* oklch */ color: oklch(39.7% 0.121 261.6);
Tailwind
colors: {
custom: {
50: '#6a76aa',
500: '#1f4387',
950: '#000000',
},
}SCSS
$custom: #1f4387; $custom-light: #6a76aa; $custom-dark: #000000;
JSON
{
"hex": "#1f4387",
"rgb": {
"r": 31,
"g": 67,
"b": 135
},
"hsl": {
"h": 219.231,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.39689,
"c": 0.1214,
"h": 261.6
},
"luminance": 0.06055
}Semantic roles & 50–950 ramp
primary
#1F4387
secondary
#B8924A
accent
#AD42E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F