#1F458B#1F458B
#1F458B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.5% C 0.125 H 261.3°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #1F458B |
|---|---|
| RGB | rgb(31, 69, 139) |
| HSL | hsl(219, 64%, 33%) |
| HSV | hsv(219, 78%, 55%) |
| CMYK | cmyk(77.7%, 50.4%, 0%, 45.5%) |
| CIE-LAB | lab(30.43, 12.92, -42.86) |
| CIE-LCH | lch(30.43, 44.77, 286.78°) |
| OKLab | oklab(40.45% -0.0188 -0.1232) |
| OKLCH | oklch(40.45% 0.125 261.3) |
| XYZ | xyz(7.3517, 6.4108, 25.2710) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.13
Darkish Blue
#014182
ΔE00 2.79
Twilight Blue
#0A437A
ΔE00 3.60
Cobalt
#0047AB
ΔE00 4.25
Dusk Blue
#26538D
ΔE00 4.84
Prussian Blue
#004577
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F458B #8B651F
analogous
#1F7B8B #1F458B #2F1F8B
triadic
#1F458B #8B1F45 #458B1F
tetradic
#1F458B #8B1F7B #8B651F #1F8B2F
square
#1F458B #8B1F7B #8B651F #1F8B2F
split-complementary
#1F458B #8B2F1F #7B8B1F
monochromatic
#091327 #142C59 #1F458B #2A5EBD #4D7ED7
Accessibility & contrast
On white
9.20
#1F458B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#1F458B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F458B
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F458B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F458B | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C4D8E
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#005661
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f458b; /* rgb */ color: rgb(31, 69, 139); /* oklch */ color: oklch(40.5% 0.125 261.3);
Tailwind
colors: {
custom: {
50: '#6b78ad',
500: '#1f458b',
950: '#000000',
},
}SCSS
$custom: #1f458b; $custom-light: #6b78ad; $custom-dark: #000000;
JSON
{
"hex": "#1f458b",
"rgb": {
"r": 31,
"g": 69,
"b": 139
},
"hsl": {
"h": 218.889,
"s": 63.529,
"l": 33.333
},
"oklch": {
"l": 0.40451,
"c": 0.1246,
"h": 261.3
},
"luminance": 0.06412
}Semantic roles & 50–950 ramp
primary
#1F458B
secondary
#BA934C
accent
#AC41E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F