#1F458A#1F458A
#1F458A is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.4% C 0.123 H 261.2°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #1F458A |
|---|---|
| RGB | rgb(31, 69, 138) |
| HSL | hsl(219, 63%, 33%) |
| HSV | hsv(219, 78%, 54%) |
| CMYK | cmyk(77.5%, 50%, 0%, 45.9%) |
| CIE-LAB | lab(30.36, 12.52, -42.36) |
| CIE-LCH | lch(30.36, 44.17, 286.47°) |
| OKLab | oklab(40.37% -0.0189 -0.1217) |
| OKLCH | oklch(40.37% 0.123 261.2) |
| XYZ | xyz(7.2790, 6.3817, 24.8880) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.16
Darkish Blue
#014182
ΔE00 2.69
Twilight Blue
#0A437A
ΔE00 3.47
Cobalt
#0047AB
ΔE00 4.37
Dusk Blue
#26538D
ΔE00 4.82
Prussian Blue
#004577
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F458A #8A641F
analogous
#1F7A8A #1F458A #2F1F8A
triadic
#1F458A #8A1F45 #458A1F
tetradic
#1F458A #8A1F7A #8A641F #1F8A2F
square
#1F458A #8A1F7A #8A641F #1F8A2F
split-complementary
#1F458A #8A2F1F #7A8A1F
monochromatic
#091326 #142C58 #1F458A #2A5EBC #4C7ED7
Accessibility & contrast
On white
9.22
#1F458A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#1F458A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F458A
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F458A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F458A | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E4D8D
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f458a; /* rgb */ color: rgb(31, 69, 138); /* oklch */ color: oklch(40.4% 0.123 261.2);
Tailwind
colors: {
custom: {
50: '#6b78ad',
500: '#1f458a',
950: '#000000',
},
}SCSS
$custom: #1f458a; $custom-light: #6b78ad; $custom-dark: #000000;
JSON
{
"hex": "#1f458a",
"rgb": {
"r": 31,
"g": 69,
"b": 138
},
"hsl": {
"h": 218.692,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.40374,
"c": 0.12316,
"h": 261.2
},
"luminance": 0.06383
}Semantic roles & 50–950 ramp
primary
#1F458A
secondary
#BA924B
accent
#AC41E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F