#1F448C#1F448C
#1F448C is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.3% C 0.127 H 262.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #1F448C |
|---|---|
| RGB | rgb(31, 68, 140) |
| HSL | hsl(220, 64%, 34%) |
| HSV | hsv(220, 78%, 55%) |
| CMYK | cmyk(77.9%, 51.4%, 0%, 45.1%) |
| CIE-LAB | lab(30.20, 14.01, -43.84) |
| CIE-LCH | lch(30.20, 46.03, 287.72°) |
| OKLab | oklab(40.3% -0.0178 -0.1261) |
| OKLCH | oklch(40.3% 0.127 262) |
| XYZ | xyz(7.3641, 6.3182, 25.6373) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.46
Darkish Blue
#014182
ΔE00 2.95
Twilight Blue
#0A437A
ΔE00 3.86
Cobalt
#0047AB
ΔE00 4.17
Dusk Blue
#26538D
ΔE00 5.23
Prussian Blue
#004577
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F448C #8C671F
analogous
#1F7A8C #1F448C #301F8C
triadic
#1F448C #8C1F44 #448C1F
tetradic
#1F448C #8C1F7A #8C671F #1F8C30
square
#1F448C #8C1F7A #8C671F #1F8C30
split-complementary
#1F448C #8C301F #7A8C1F
monochromatic
#091328 #142C5A #1F448C #2A5CBE #4E7DD8
Accessibility & contrast
On white
9.28
#1F448C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#1F448C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F448C
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F448C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F448C | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#184C8F
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f448c; /* rgb */ color: rgb(31, 68, 140); /* oklch */ color: oklch(40.3% 0.127 262.0);
Tailwind
colors: {
custom: {
50: '#6c77ae',
500: '#1f448c',
950: '#000000',
},
}SCSS
$custom: #1f448c; $custom-light: #6c77ae; $custom-dark: #000000;
JSON
{
"hex": "#1f448c",
"rgb": {
"r": 31,
"g": 68,
"b": 140
},
"hsl": {
"h": 219.633,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.40302,
"c": 0.12733,
"h": 262
},
"luminance": 0.06319
}Semantic roles & 50–950 ramp
primary
#1F448C
secondary
#BB954C
accent
#AF41E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F