#1F41AE#1F41AE
#1F41AE is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.178 H 265.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1F41AE |
|---|---|
| RGB | rgb(31, 65, 174) |
| HSL | hsl(226, 70%, 40%) |
| HSV | hsv(226, 82%, 68%) |
| CMYK | cmyk(82.2%, 62.6%, 0%, 31.8%) |
| CIE-LAB | lab(32.09, 29.47, -61.36) |
| CIE-LCH | lch(32.09, 68.07, 295.65°) |
| OKLab | oklab(42.58% -0.0136 -0.1776) |
| OKLCH | oklch(42.58% 0.178 265.6) |
| XYZ | xyz(10.0927, 7.1267, 40.8798) |
| Luminance | 0.0713 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.85
Cobalt
#0047AB
ΔE00 3.29
Blue Blue
#2242C7
ΔE00 3.53
Cobalt (survey)
#1E488F
ΔE00 5.82
Sapphire
#0F52BA
ΔE00 6.02
Blueberry
#464196
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F41AE #AE8C1F
analogous
#1F89AE #1F41AE #441FAE
triadic
#1F41AE #AE1F41 #41AE1F
tetradic
#1F41AE #AE1F89 #AE8C1F #1FAE44
square
#1F41AE #AE1F89 #AE8C1F #1FAE44
split-complementary
#1F41AE #AE441F #89AE1F
monochromatic
#0C1A46 #162E7A #1F41AE #3059DA #6482E3
Accessibility & contrast
On white
8.66
#1F41AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#1F41AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F41AE
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F41AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F41AE | 1.00 | 8.66 | 2.43 | 8.66 |
| #FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1f41ae; /* rgb */ color: rgb(31, 65, 174); /* oklch */ color: oklch(42.6% 0.178 265.6);
Tailwind
colors: {
custom: {
50: '#7575c7',
500: '#1f41ae',
950: '#000000',
},
}SCSS
$custom: #1f41ae; $custom-light: #7575c7; $custom-dark: #000000;
JSON
{
"hex": "#1f41ae",
"rgb": {
"r": 31,
"g": 65,
"b": 174
},
"hsl": {
"h": 225.734,
"s": 69.756,
"l": 40.196
},
"oklch": {
"l": 0.42578,
"c": 0.17811,
"h": 265.6
},
"luminance": 0.07128
}Semantic roles & 50–950 ramp
primary
#1F41AE
secondary
#C8B060
accent
#C23BED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82