#1F428C#1F428C
#1F428C is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.130 H 262.9°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #1F428C |
|---|---|
| RGB | rgb(31, 66, 140) |
| HSL | hsl(221, 64%, 34%) |
| HSV | hsv(221, 78%, 55%) |
| CMYK | cmyk(77.9%, 52.9%, 0%, 45.1%) |
| CIE-LAB | lab(29.61, 15.39, -44.79) |
| CIE-LCH | lch(29.61, 47.36, 288.96°) |
| OKLab | oklab(39.85% -0.0161 -0.1289) |
| OKLCH | oklch(39.85% 0.13 262.9) |
| XYZ | xyz(7.2452, 6.0804, 25.5976) |
| Luminance | 0.0608 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.18
Darkish Blue
#014182
ΔE00 3.20
Twilight Blue
#0A437A
ΔE00 4.23
Cobalt
#0047AB
ΔE00 4.35
Prussian Blue
#004577
ΔE00 5.71
Dusk Blue
#26538D
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F428C #8C691F
analogous
#1F788C #1F428C #321F8C
triadic
#1F428C #8C1F42 #428C1F
tetradic
#1F428C #8C1F78 #8C691F #1F8C32
square
#1F428C #8C1F78 #8C691F #1F8C32
split-complementary
#1F428C #8C321F #788C1F
monochromatic
#091328 #142A5A #1F428C #2A5ABE #4E7AD8
Accessibility & contrast
On white
9.48
#1F428C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#1F428C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F428C
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F428C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F428C | 1.00 | 9.48 | 2.22 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#114B8F
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1f428c; /* rgb */ color: rgb(31, 66, 140); /* oklch */ color: oklch(39.9% 0.130 262.9);
Tailwind
colors: {
custom: {
50: '#6c75ae',
500: '#1f428c',
950: '#000000',
},
}SCSS
$custom: #1f428c; $custom-light: #6c75ae; $custom-dark: #000000;
JSON
{
"hex": "#1f428c",
"rgb": {
"r": 31,
"g": 66,
"b": 140
},
"hsl": {
"h": 220.734,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.39854,
"c": 0.12991,
"h": 262.9
},
"luminance": 0.06081
}Semantic roles & 50–950 ramp
primary
#1F428C
secondary
#BB974C
accent
#B241E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F