#1F409C#1F409C
#1F409C is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.155 H 265.1°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #1F409C |
|---|---|
| RGB | rgb(31, 64, 156) |
| HSL | hsl(224, 67%, 37%) |
| HSV | hsv(224, 80%, 61%) |
| CMYK | cmyk(80.1%, 59%, 0%, 38.8%) |
| CIE-LAB | lab(30.30, 23.13, -53.47) |
| CIE-LCH | lch(30.30, 58.26, 293.40°) |
| OKLab | oklab(40.76% -0.0133 -0.1545) |
| OKLCH | oklch(40.76% 0.155 265.1) |
| XYZ | xyz(8.3971, 6.3574, 32.2306) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.36
Sapphire (survey)
#2138AB
ΔE00 3.91
Cobalt (survey)
#1E488F
ΔE00 4.04
Darkish Blue
#014182
ΔE00 5.46
Blueberry
#464196
ΔE00 5.79
Blue Blue
#2242C7
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F409C #9C7B1F
analogous
#1F7F9C #1F409C #3D1F9C
triadic
#1F409C #9C1F40 #409C1F
tetradic
#1F409C #9C1F7F #9C7B1F #1F9C3D
square
#1F409C #9C1F7F #9C7B1F #1F9C3D
split-complementary
#1F409C #9C3D1F #7F9C1F
monochromatic
#0B1636 #152B69 #1F409C #2955CF #587BDE
Accessibility & contrast
On white
9.24
#1F409C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#1F409C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F409C
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F409C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F409C | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f409c; /* rgb */ color: rgb(31, 64, 156); /* oklch */ color: oklch(40.8% 0.155 265.1);
Tailwind
colors: {
custom: {
50: '#7074ba',
500: '#1f409c',
950: '#000000',
},
}SCSS
$custom: #1f409c; $custom-light: #7074ba; $custom-dark: #000000;
JSON
{
"hex": "#1f409c",
"rgb": {
"r": 31,
"g": 64,
"b": 156
},
"hsl": {
"h": 224.16,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.40763,
"c": 0.15503,
"h": 265.1
},
"luminance": 0.06358
}Semantic roles & 50–950 ramp
primary
#1F409C
secondary
#C1A555
accent
#BC3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81