#1F428E#1F428E
#1F428E is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.0% C 0.133 H 263.1°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #1F428E |
|---|---|
| RGB | rgb(31, 66, 142) |
| HSL | hsl(221, 64%, 34%) |
| HSV | hsv(221, 78%, 56%) |
| CMYK | cmyk(78.2%, 53.5%, 0%, 44.3%) |
| CIE-LAB | lab(29.76, 16.19, -45.78) |
| CIE-LCH | lch(29.76, 48.56, 289.48°) |
| OKLab | oklab(40.01% -0.0159 -0.1318) |
| OKLCH | oklch(40.01% 0.133 263.1) |
| XYZ | xyz(7.3940, 6.1399, 26.3814) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.24
Darkish Blue
#014182
ΔE00 3.42
Cobalt
#0047AB
ΔE00 4.12
Twilight Blue
#0A437A
ΔE00 4.47
Prussian Blue
#004577
ΔE00 5.91
Dusk Blue
#26538D
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F428E #8E6B1F
analogous
#1F7A8E #1F428E #341F8E
triadic
#1F428E #8E1F42 #428E1F
tetradic
#1F428E #8E1F7A #8E6B1F #1F8E34
square
#1F428E #8E1F7A #8E6B1F #1F8E34
split-complementary
#1F428E #8E341F #7A8E1F
monochromatic
#09132A #142B5C #1F428E #2A59C0 #4F7AD9
Accessibility & contrast
On white
9.42
#1F428E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#1F428E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F428E
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F428E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F428E | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D4B91
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1f428e; /* rgb */ color: rgb(31, 66, 142); /* oklch */ color: oklch(40.0% 0.133 263.1);
Tailwind
colors: {
custom: {
50: '#6c75b0',
500: '#1f428e',
950: '#000000',
},
}SCSS
$custom: #1f428e; $custom-light: #6c75b0; $custom-dark: #000000;
JSON
{
"hex": "#1f428e",
"rgb": {
"r": 31,
"g": 66,
"b": 142
},
"hsl": {
"h": 221.081,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.40014,
"c": 0.13278,
"h": 263.1
},
"luminance": 0.06141
}Semantic roles & 50–950 ramp
primary
#1F428E
secondary
#BB994D
accent
#B341E7
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F