#1F41A6#1F41A6
#1F41A6 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.167 H 265.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1F41A6 |
|---|---|
| RGB | rgb(31, 65, 166) |
| HSL | hsl(225, 69%, 39%) |
| HSV | hsv(225, 81%, 65%) |
| CMYK | cmyk(81.3%, 60.8%, 0%, 34.9%) |
| CIE-LAB | lab(31.40, 26.37, -57.70) |
| CIE-LCH | lch(31.40, 63.44, 294.56°) |
| OKLab | oklab(41.85% -0.0136 -0.1669) |
| OKLCH | oklch(41.85% 0.167 265.3) |
| XYZ | xyz(9.3359, 6.8240, 36.8941) |
| Luminance | 0.0683 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.95
Sapphire (survey)
#2138AB
ΔE00 3.22
Blue Blue
#2242C7
ΔE00 4.69
Cobalt (survey)
#1E488F
ΔE00 4.86
Blueberry
#464196
ΔE00 5.88
Sapphire
#0F52BA
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F41A6 #A6841F
analogous
#1F84A6 #1F41A6 #401FA6
triadic
#1F41A6 #A61F41 #41A61F
tetradic
#1F41A6 #A61F84 #A6841F #1FA640
square
#1F41A6 #A61F84 #A6841F #1FA640
split-complementary
#1F41A6 #A6401F #84A61F
monochromatic
#0C193F #152D72 #1F41A6 #2B56D7 #5E7FE1
Accessibility & contrast
On white
8.88
#1F41A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#1F41A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F41A6
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F41A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F41A6 | 1.00 | 8.88 | 2.37 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A9
Deuteranopia (green-blind)
#0044A4
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1f41a6; /* rgb */ color: rgb(31, 65, 166); /* oklch */ color: oklch(41.9% 0.167 265.3);
Tailwind
colors: {
custom: {
50: '#7275c1',
500: '#1f41a6',
950: '#000000',
},
}SCSS
$custom: #1f41a6; $custom-light: #7275c1; $custom-dark: #000000;
JSON
{
"hex": "#1f41a6",
"rgb": {
"r": 31,
"g": 65,
"b": 166
},
"hsl": {
"h": 224.889,
"s": 68.528,
"l": 38.627
},
"oklch": {
"l": 0.4185,
"c": 0.16743,
"h": 265.3
},
"luminance": 0.06825
}Semantic roles & 50–950 ramp
primary
#1F41A6
secondary
#C5AB5B
accent
#BF3CEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81