#1F419A#1F419A
#1F419A is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.151 H 264.6°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #1F419A |
|---|---|
| RGB | rgb(31, 65, 154) |
| HSL | hsl(223, 66%, 36%) |
| HSV | hsv(223, 80%, 60%) |
| CMYK | cmyk(79.9%, 57.8%, 0%, 39.6%) |
| CIE-LAB | lab(30.41, 21.66, -52.07) |
| CIE-LCH | lch(30.41, 56.40, 292.59°) |
| OKLab | oklab(40.8% -0.0141 -0.1503) |
| OKLCH | oklch(40.8% 0.151 264.6) |
| XYZ | xyz(8.2860, 6.4040, 31.3650) |
| Luminance | 0.0640 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.21
Cobalt (survey)
#1E488F
ΔE00 3.52
Sapphire (survey)
#2138AB
ΔE00 4.44
Darkish Blue
#014182
ΔE00 5.03
Blueberry
#464196
ΔE00 5.98
Twilight Blue
#0A437A
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F419A #9A781F
analogous
#1F7F9A #1F419A #3B1F9A
triadic
#1F419A #9A1F41 #419A1F
tetradic
#1F419A #9A1F7F #9A781F #1F9A3B
square
#1F419A #9A1F7F #9A781F #1F9A3B
split-complementary
#1F419A #9A3B1F #7F9A1F
monochromatic
#0A1634 #152B67 #1F419A #2957CD #567CDD
Accessibility & contrast
On white
9.21
#1F419A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#1F419A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F419A
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F419A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F419A | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f419a; /* rgb */ color: rgb(31, 65, 154); /* oklch */ color: oklch(40.8% 0.151 264.6);
Tailwind
colors: {
custom: {
50: '#6f75b8',
500: '#1f419a',
950: '#000000',
},
}SCSS
$custom: #1f419a; $custom-light: #6f75b8; $custom-dark: #000000;
JSON
{
"hex": "#1f419a",
"rgb": {
"r": 31,
"g": 65,
"b": 154
},
"hsl": {
"h": 223.415,
"s": 66.486,
"l": 36.275
},
"oklch": {
"l": 0.40797,
"c": 0.15099,
"h": 264.6
},
"luminance": 0.06405
}Semantic roles & 50–950 ramp
primary
#1F419A
secondary
#C1A354
accent
#BA3EE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80