#1F428F#1F428F
#1F428F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.1% C 0.134 H 263.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #1F428F |
|---|---|
| RGB | rgb(31, 66, 143) |
| HSL | hsl(221, 64%, 34%) |
| HSV | hsv(221, 78%, 56%) |
| CMYK | cmyk(78.3%, 53.8%, 0%, 43.9%) |
| CIE-LAB | lab(29.84, 16.59, -46.28) |
| CIE-LCH | lch(29.84, 49.16, 289.72°) |
| OKLab | oklab(40.09% -0.0158 -0.1333) |
| OKLCH | oklch(40.09% 0.134 263.2) |
| XYZ | xyz(7.4694, 6.1701, 26.7786) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.29
Darkish Blue
#014182
ΔE00 3.53
Cobalt
#0047AB
ΔE00 4.01
Twilight Blue
#0A437A
ΔE00 4.59
Prussian Blue
#004577
ΔE00 6.01
Dusk Blue
#26538D
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F428F #8F6C1F
analogous
#1F7A8F #1F428F #341F8F
triadic
#1F428F #8F1F42 #428F1F
tetradic
#1F428F #8F1F7A #8F6C1F #1F8F34
square
#1F428F #8F1F7A #8F6C1F #1F8F34
split-complementary
#1F428F #8F341F #7A8F1F
monochromatic
#09142A #142B5D #1F428F #2A59C1 #4F7AD9
Accessibility & contrast
On white
9.40
#1F428F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#1F428F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F428F
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F428F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F428F | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A4C92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1f428f; /* rgb */ color: rgb(31, 66, 143); /* oklch */ color: oklch(40.1% 0.134 263.2);
Tailwind
colors: {
custom: {
50: '#6c75b0',
500: '#1f428f',
950: '#000000',
},
}SCSS
$custom: #1f428f; $custom-light: #6c75b0; $custom-dark: #000000;
JSON
{
"hex": "#1f428f",
"rgb": {
"r": 31,
"g": 66,
"b": 143
},
"hsl": {
"h": 221.25,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.40094,
"c": 0.13421,
"h": 263.2
},
"luminance": 0.06171
}Semantic roles & 50–950 ramp
primary
#1F428F
secondary
#BC9A4E
accent
#B340E7
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80