#1F409F#1F409F
#1F409F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.159 H 265.2°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #1F409F |
|---|---|
| RGB | rgb(31, 64, 159) |
| HSL | hsl(225, 67%, 37%) |
| HSV | hsv(225, 81%, 62%) |
| CMYK | cmyk(80.5%, 59.7%, 0%, 37.6%) |
| CIE-LAB | lab(30.55, 24.31, -54.88) |
| CIE-LCH | lch(30.55, 60.03, 293.89°) |
| OKLab | oklab(41.03% -0.0132 -0.1586) |
| OKLCH | oklch(41.03% 0.159 265.2) |
| XYZ | xyz(8.6543, 6.4603, 33.5850) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.26
Sapphire (survey)
#2138AB
ΔE00 3.56
Cobalt (survey)
#1E488F
ΔE00 4.35
Blue Blue
#2242C7
ΔE00 5.68
Blueberry
#464196
ΔE00 5.75
Darkish Blue
#014182
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F409F #9F7E1F
analogous
#1F809F #1F409F #3E1F9F
triadic
#1F409F #9F1F40 #409F1F
tetradic
#1F409F #9F1F80 #9F7E1F #1F9F3E
square
#1F409F #9F1F80 #9F7E1F #1F9F3E
split-complementary
#1F409F #9F3E1F #809F1F
monochromatic
#0B1739 #152B6C #1F409F #2955D2 #5A7CDF
Accessibility & contrast
On white
9.16
#1F409F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#1F409F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F409F
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F409F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F409F | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f409f; /* rgb */ color: rgb(31, 64, 159); /* oklch */ color: oklch(41.0% 0.159 265.2);
Tailwind
colors: {
custom: {
50: '#7174bc',
500: '#1f409f',
950: '#000000',
},
}SCSS
$custom: #1f409f; $custom-light: #7174bc; $custom-dark: #000000;
JSON
{
"hex": "#1f409f",
"rgb": {
"r": 31,
"g": 64,
"b": 159
},
"hsl": {
"h": 224.531,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.41026,
"c": 0.15916,
"h": 265.2
},
"luminance": 0.06461
}Semantic roles & 50–950 ramp
primary
#1F409F
secondary
#C3A757
accent
#BE3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81