#1F428D#1F428D
#1F428D is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.131 H 263.0°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #1F428D |
|---|---|
| RGB | rgb(31, 66, 141) |
| HSL | hsl(221, 64%, 34%) |
| HSV | hsv(221, 78%, 55%) |
| CMYK | cmyk(78%, 53.2%, 0%, 44.7%) |
| CIE-LAB | lab(29.69, 15.79, -45.29) |
| CIE-LCH | lch(29.69, 47.96, 289.22°) |
| OKLab | oklab(39.93% -0.016 -0.1304) |
| OKLCH | oklch(39.93% 0.131 263) |
| XYZ | xyz(7.3193, 6.1100, 25.9877) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.21
Darkish Blue
#014182
ΔE00 3.31
Cobalt
#0047AB
ΔE00 4.24
Twilight Blue
#0A437A
ΔE00 4.35
Prussian Blue
#004577
ΔE00 5.81
Dusk Blue
#26538D
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F428D #8D6A1F
analogous
#1F798D #1F428D #331F8D
triadic
#1F428D #8D1F42 #428D1F
tetradic
#1F428D #8D1F79 #8D6A1F #1F8D33
square
#1F428D #8D1F79 #8D6A1F #1F8D33
split-complementary
#1F428D #8D331F #798D1F
monochromatic
#091329 #142B5B #1F428D #2A59BF #4E7AD8
Accessibility & contrast
On white
9.45
#1F428D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#1F428D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F428D
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F428D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F428D | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F4B90
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1f428d; /* rgb */ color: rgb(31, 66, 141); /* oklch */ color: oklch(39.9% 0.131 263.0);
Tailwind
colors: {
custom: {
50: '#6c75af',
500: '#1f428d',
950: '#000000',
},
}SCSS
$custom: #1f428d; $custom-light: #6c75af; $custom-dark: #000000;
JSON
{
"hex": "#1f428d",
"rgb": {
"r": 31,
"g": 66,
"b": 141
},
"hsl": {
"h": 220.909,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.39934,
"c": 0.13135,
"h": 263
},
"luminance": 0.06111
}Semantic roles & 50–950 ramp
primary
#1F428D
secondary
#BB984D
accent
#B241E7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F