#1F409E#1F409E
#1F409E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.158 H 265.2°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #1F409E |
|---|---|
| RGB | rgb(31, 64, 158) |
| HSL | hsl(224, 67%, 37%) |
| HSV | hsv(224, 80%, 62%) |
| CMYK | cmyk(80.4%, 59.5%, 0%, 38%) |
| CIE-LAB | lab(30.46, 23.92, -54.41) |
| CIE-LCH | lch(30.46, 59.44, 293.73°) |
| OKLab | oklab(40.94% -0.0132 -0.1572) |
| OKLCH | oklch(40.94% 0.158 265.2) |
| XYZ | xyz(8.5678, 6.4257, 33.1299) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.29
Sapphire (survey)
#2138AB
ΔE00 3.67
Cobalt (survey)
#1E488F
ΔE00 4.24
Darkish Blue
#014182
ΔE00 5.71
Blueberry
#464196
ΔE00 5.76
Blue Blue
#2242C7
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F409E #9E7D1F
analogous
#1F809E #1F409E #3D1F9E
triadic
#1F409E #9E1F40 #409E1F
tetradic
#1F409E #9E1F80 #9E7D1F #1F9E3D
square
#1F409E #9E1F80 #9E7D1F #1F9E3D
split-complementary
#1F409E #9E3D1F #809E1F
monochromatic
#0B1738 #152B6B #1F409E #2955D1 #597CDE
Accessibility & contrast
On white
9.19
#1F409E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#1F409E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F409E
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F409E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F409E | 1.00 | 9.19 | 2.29 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f409e; /* rgb */ color: rgb(31, 64, 158); /* oklch */ color: oklch(40.9% 0.158 265.2);
Tailwind
colors: {
custom: {
50: '#7074bb',
500: '#1f409e',
950: '#000000',
},
}SCSS
$custom: #1f409e; $custom-light: #7074bb; $custom-dark: #000000;
JSON
{
"hex": "#1f409e",
"rgb": {
"r": 31,
"g": 64,
"b": 158
},
"hsl": {
"h": 224.409,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.40938,
"c": 0.15779,
"h": 265.2
},
"luminance": 0.06427
}Semantic roles & 50–950 ramp
primary
#1F409E
secondary
#C2A656
accent
#BD3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81