#1F409D#1F409D
#1F409D is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.156 H 265.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #1F409D |
|---|---|
| RGB | rgb(31, 64, 157) |
| HSL | hsl(224, 67%, 37%) |
| HSV | hsv(224, 80%, 62%) |
| CMYK | cmyk(80.3%, 59.2%, 0%, 38.4%) |
| CIE-LAB | lab(30.38, 23.53, -53.94) |
| CIE-LCH | lch(30.38, 58.85, 293.57°) |
| OKLab | oklab(40.85% -0.0133 -0.1558) |
| OKLCH | oklch(40.85% 0.156 265.1) |
| XYZ | xyz(8.4821, 6.3914, 32.6784) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.32
Sapphire (survey)
#2138AB
ΔE00 3.79
Cobalt (survey)
#1E488F
ΔE00 4.14
Darkish Blue
#014182
ΔE00 5.58
Blueberry
#464196
ΔE00 5.78
Blue Blue
#2242C7
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F409D #9D7C1F
analogous
#1F7F9D #1F409D #3D1F9D
triadic
#1F409D #9D1F40 #409D1F
tetradic
#1F409D #9D1F7F #9D7C1F #1F9D3D
square
#1F409D #9D1F7F #9D7C1F #1F9D3D
split-complementary
#1F409D #9D3D1F #7F9D1F
monochromatic
#0B1637 #152B6A #1F409D #2955D0 #587BDE
Accessibility & contrast
On white
9.22
#1F409D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#1F409D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F409D
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F409D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F409D | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f409d; /* rgb */ color: rgb(31, 64, 157); /* oklch */ color: oklch(40.8% 0.156 265.1);
Tailwind
colors: {
custom: {
50: '#7074bb',
500: '#1f409d',
950: '#000000',
},
}SCSS
$custom: #1f409d; $custom-light: #7074bb; $custom-dark: #000000;
JSON
{
"hex": "#1f409d",
"rgb": {
"r": 31,
"g": 64,
"b": 157
},
"hsl": {
"h": 224.286,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.4085,
"c": 0.15641,
"h": 265.1
},
"luminance": 0.06392
}Semantic roles & 50–950 ramp
primary
#1F409D
secondary
#C2A656
accent
#BD3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81