#1F448A#1F448A
#1F448A is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.1% C 0.124 H 261.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #1F448A |
|---|---|
| RGB | rgb(31, 68, 138) |
| HSL | hsl(219, 63%, 33%) |
| HSV | hsv(219, 78%, 54%) |
| CMYK | cmyk(77.5%, 50.7%, 0%, 45.9%) |
| CIE-LAB | lab(30.06, 13.21, -42.84) |
| CIE-LCH | lch(30.06, 44.83, 287.14°) |
| OKLab | oklab(40.15% -0.0181 -0.1231) |
| OKLCH | oklch(40.15% 0.124 261.6) |
| XYZ | xyz(7.2180, 6.2597, 24.8677) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.48
Darkish Blue
#014182
ΔE00 2.75
Twilight Blue
#0A437A
ΔE00 3.62
Cobalt
#0047AB
ΔE00 4.42
Prussian Blue
#004577
ΔE00 5.08
Dusk Blue
#26538D
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F448A #8A651F
analogous
#1F798A #1F448A #2F1F8A
triadic
#1F448A #8A1F44 #448A1F
tetradic
#1F448A #8A1F79 #8A651F #1F8A2F
square
#1F448A #8A1F79 #8A651F #1F8A2F
split-complementary
#1F448A #8A2F1F #798A1F
monochromatic
#091326 #142B58 #1F448A #2A5DBC #4C7CD7
Accessibility & contrast
On white
9.32
#1F448A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#1F448A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F448A
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F448A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F448A | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B4C8D
Deuteranopia (green-blind)
#004289
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f448a; /* rgb */ color: rgb(31, 68, 138); /* oklch */ color: oklch(40.1% 0.124 261.6);
Tailwind
colors: {
custom: {
50: '#6b77ad',
500: '#1f448a',
950: '#000000',
},
}SCSS
$custom: #1f448a; $custom-light: #6b77ad; $custom-dark: #000000;
JSON
{
"hex": "#1f448a",
"rgb": {
"r": 31,
"g": 68,
"b": 138
},
"hsl": {
"h": 219.252,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.40147,
"c": 0.12445,
"h": 261.6
},
"luminance": 0.06261
}Semantic roles & 50–950 ramp
primary
#1F448A
secondary
#BA934B
accent
#AD41E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F