#1F41A0#1F41A0
#1F41A0 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.159 H 265.0°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #1F41A0 |
|---|---|
| RGB | rgb(31, 65, 160) |
| HSL | hsl(224, 68%, 37%) |
| HSV | hsv(224, 81%, 63%) |
| CMYK | cmyk(80.6%, 59.4%, 0%, 37.3%) |
| CIE-LAB | lab(30.90, 24.03, -54.91) |
| CIE-LCH | lch(30.90, 59.94, 293.63°) |
| OKLab | oklab(41.32% -0.0138 -0.1587) |
| OKLCH | oklch(41.32% 0.159 265) |
| XYZ | xyz(8.7983, 6.6089, 34.0628) |
| Luminance | 0.0661 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.96
Sapphire (survey)
#2138AB
ΔE00 3.76
Cobalt (survey)
#1E488F
ΔE00 4.16
Blue Blue
#2242C7
ΔE00 5.57
Darkish Blue
#014182
ΔE00 5.80
Blueberry
#464196
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F41A0 #A07E1F
analogous
#1F82A0 #1F41A0 #3E1FA0
triadic
#1F41A0 #A01F41 #41A01F
tetradic
#1F41A0 #A01F82 #A07E1F #1FA03E
square
#1F41A0 #A01F82 #A07E1F #1FA03E
split-complementary
#1F41A0 #A03E1F #82A01F
monochromatic
#0B1739 #152C6D #1F41A0 #2956D3 #5A7DDF
Accessibility & contrast
On white
9.04
#1F41A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#1F41A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F41A0
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F41A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F41A0 | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1f41a0; /* rgb */ color: rgb(31, 65, 160); /* oklch */ color: oklch(41.3% 0.159 265.0);
Tailwind
colors: {
custom: {
50: '#7175bd',
500: '#1f41a0',
950: '#000000',
},
}SCSS
$custom: #1f41a0; $custom-light: #7175bd; $custom-dark: #000000;
JSON
{
"hex": "#1f41a0",
"rgb": {
"r": 31,
"g": 65,
"b": 160
},
"hsl": {
"h": 224.186,
"s": 67.539,
"l": 37.451
},
"oklch": {
"l": 0.41318,
"c": 0.15927,
"h": 265
},
"luminance": 0.0661
}Semantic roles & 50–950 ramp
primary
#1F41A0
secondary
#C3A758
accent
#BD3DEA
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81