#1F458D#1F458D
#1F458D is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.6% C 0.127 H 261.7°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #1F458D |
|---|---|
| RGB | rgb(31, 69, 141) |
| HSL | hsl(219, 64%, 34%) |
| HSV | hsv(219, 78%, 55%) |
| CMYK | cmyk(78%, 51.1%, 0%, 44.7%) |
| CIE-LAB | lab(30.57, 13.73, -43.87) |
| CIE-LCH | lch(30.57, 45.96, 287.38°) |
| OKLab | oklab(40.61% -0.0185 -0.1261) |
| OKLCH | oklch(40.61% 0.127 261.7) |
| XYZ | xyz(7.4992, 6.4698, 26.0477) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.12
Darkish Blue
#014182
ΔE00 2.98
Twilight Blue
#0A437A
ΔE00 3.84
Cobalt
#0047AB
ΔE00 3.99
Dusk Blue
#26538D
ΔE00 4.90
Prussian Blue
#004577
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F458D #8D671F
analogous
#1F7C8D #1F458D #301F8D
triadic
#1F458D #8D1F45 #458D1F
tetradic
#1F458D #8D1F7C #8D671F #1F8D30
square
#1F458D #8D1F7C #8D671F #1F8D30
split-complementary
#1F458D #8D301F #7C8D1F
monochromatic
#091429 #142C5B #1F458D #2A5EBF #4E7ED8
Accessibility & contrast
On white
9.15
#1F458D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#1F458D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F458D
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F458D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F458D | 1.00 | 9.15 | 2.29 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A4D90
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f458d; /* rgb */ color: rgb(31, 69, 141); /* oklch */ color: oklch(40.6% 0.127 261.7);
Tailwind
colors: {
custom: {
50: '#6c78af',
500: '#1f458d',
950: '#000000',
},
}SCSS
$custom: #1f458d; $custom-light: #6c78af; $custom-dark: #000000;
JSON
{
"hex": "#1f458d",
"rgb": {
"r": 31,
"g": 69,
"b": 141
},
"hsl": {
"h": 219.273,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.40605,
"c": 0.12748,
"h": 261.7
},
"luminance": 0.06471
}Semantic roles & 50–950 ramp
primary
#1F458D
secondary
#BB954D
accent
#AE41E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F