#1F419E#1F419E
#1F419E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.157 H 264.9°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1F419E |
|---|---|
| RGB | rgb(31, 65, 158) |
| HSL | hsl(224, 67%, 37%) |
| HSV | hsv(224, 80%, 62%) |
| CMYK | cmyk(80.4%, 58.9%, 0%, 38%) |
| CIE-LAB | lab(30.73, 23.24, -53.97) |
| CIE-LCH | lch(30.73, 58.76, 293.30°) |
| OKLab | oklab(41.14% -0.0139 -0.1559) |
| OKLCH | oklch(41.14% 0.157 264.9) |
| XYZ | xyz(8.6247, 6.5395, 33.1488) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.02
Cobalt (survey)
#1E488F
ΔE00 3.94
Sapphire (survey)
#2138AB
ΔE00 3.97
Darkish Blue
#014182
ΔE00 5.54
Blue Blue
#2242C7
ΔE00 5.87
Blueberry
#464196
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F419E #9E7C1F
analogous
#1F819E #1F419E #3D1F9E
triadic
#1F419E #9E1F41 #419E1F
tetradic
#1F419E #9E1F81 #9E7C1F #1F9E3D
square
#1F419E #9E1F81 #9E7C1F #1F9E3D
split-complementary
#1F419E #9E3D1F #819E1F
monochromatic
#0B1738 #152C6B #1F419E #2956D1 #597DDE
Accessibility & contrast
On white
9.10
#1F419E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#1F419E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F419E
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F419E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F419E | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f419e; /* rgb */ color: rgb(31, 65, 158); /* oklch */ color: oklch(41.1% 0.157 264.9);
Tailwind
colors: {
custom: {
50: '#7075bb',
500: '#1f419e',
950: '#000000',
},
}SCSS
$custom: #1f419e; $custom-light: #7075bb; $custom-dark: #000000;
JSON
{
"hex": "#1f419e",
"rgb": {
"r": 31,
"g": 65,
"b": 158
},
"hsl": {
"h": 223.937,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.41143,
"c": 0.15653,
"h": 264.9
},
"luminance": 0.06541
}Semantic roles & 50–950 ramp
primary
#1F419E
secondary
#C2A556
accent
#BC3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81