#1F419D#1F419D
#1F419D is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.155 H 264.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1F419D |
|---|---|
| RGB | rgb(31, 65, 157) |
| HSL | hsl(224, 67%, 37%) |
| HSV | hsv(224, 80%, 62%) |
| CMYK | cmyk(80.3%, 58.6%, 0%, 38.4%) |
| CIE-LAB | lab(30.65, 22.85, -53.49) |
| CIE-LCH | lch(30.65, 58.17, 293.13°) |
| OKLab | oklab(41.06% -0.014 -0.1545) |
| OKLCH | oklch(41.06% 0.155 264.8) |
| XYZ | xyz(8.5390, 6.5052, 32.6973) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.06
Cobalt (survey)
#1E488F
ΔE00 3.83
Sapphire (survey)
#2138AB
ΔE00 4.08
Darkish Blue
#014182
ΔE00 5.41
Blueberry
#464196
ΔE00 5.90
Blue Blue
#2242C7
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F419D #9D7B1F
analogous
#1F809D #1F419D #3C1F9D
triadic
#1F419D #9D1F41 #419D1F
tetradic
#1F419D #9D1F80 #9D7B1F #1F9D3C
square
#1F419D #9D1F80 #9D7B1F #1F9D3C
split-complementary
#1F419D #9D3C1F #809D1F
monochromatic
#0B1737 #152C6A #1F419D #2956D0 #587CDE
Accessibility & contrast
On white
9.13
#1F419D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#1F419D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F419D
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F419D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F419D | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f419d; /* rgb */ color: rgb(31, 65, 157); /* oklch */ color: oklch(41.1% 0.155 264.8);
Tailwind
colors: {
custom: {
50: '#7075bb',
500: '#1f419d',
950: '#000000',
},
}SCSS
$custom: #1f419d; $custom-light: #7075bb; $custom-dark: #000000;
JSON
{
"hex": "#1f419d",
"rgb": {
"r": 31,
"g": 65,
"b": 157
},
"hsl": {
"h": 223.81,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.41056,
"c": 0.15515,
"h": 264.8
},
"luminance": 0.06506
}Semantic roles & 50–950 ramp
primary
#1F419D
secondary
#C2A556
accent
#BB3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81