#1F4589#1F4589
#1F4589 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.3% C 0.122 H 261.0°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4589 |
|---|---|
| RGB | rgb(31, 69, 137) |
| HSL | hsl(218, 63%, 33%) |
| HSV | hsv(218, 77%, 54%) |
| CMYK | cmyk(77.4%, 49.6%, 0%, 46.3%) |
| CIE-LAB | lab(30.29, 12.12, -41.86) |
| CIE-LCH | lch(30.29, 43.58, 286.15°) |
| OKLab | oklab(40.3% -0.0191 -0.1202) |
| OKLCH | oklch(40.3% 0.122 261) |
| XYZ | xyz(7.2069, 6.3529, 24.5085) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.21
Darkish Blue
#014182
ΔE00 2.61
Twilight Blue
#0A437A
ΔE00 3.36
Cobalt
#0047AB
ΔE00 4.50
Prussian Blue
#004577
ΔE00 4.77
Dusk Blue
#26538D
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4589 #89631F
analogous
#1F7A89 #1F4589 #2E1F89
triadic
#1F4589 #891F45 #45891F
tetradic
#1F4589 #891F7A #89631F #1F892E
square
#1F4589 #891F7A #89631F #1F892E
split-complementary
#1F4589 #892E1F #7A891F
monochromatic
#081325 #142C57 #1F4589 #2A5EBB #4C7ED6
Accessibility & contrast
On white
9.25
#1F4589 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#1F4589 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4589
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4589 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4589 | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4C8C
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f4589; /* rgb */ color: rgb(31, 69, 137); /* oklch */ color: oklch(40.3% 0.122 261.0);
Tailwind
colors: {
custom: {
50: '#6b78ac',
500: '#1f4589',
950: '#000000',
},
}SCSS
$custom: #1f4589; $custom-light: #6b78ac; $custom-dark: #000000;
JSON
{
"hex": "#1f4589",
"rgb": {
"r": 31,
"g": 69,
"b": 137
},
"hsl": {
"h": 218.491,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.40298,
"c": 0.12173,
"h": 261
},
"luminance": 0.06354
}Semantic roles & 50–950 ramp
primary
#1F4589
secondary
#B9924B
accent
#AB42E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F