#413497#413497
#413497 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.155 H 282.9°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #413497 |
|---|---|
| RGB | rgb(65, 52, 151) |
| HSL | hsl(248, 49%, 40%) |
| HSV | hsv(248, 66%, 59%) |
| CMYK | cmyk(57%, 65.6%, 0%, 40.8%) |
| CIE-LAB | lab(28.94, 34.14, -52.55) |
| CIE-LCH | lch(28.94, 62.66, 303.01°) |
| OKLab | oklab(40.18% 0.0345 -0.151) |
| OKLCH | oklch(40.18% 0.155 282.9) |
| XYZ | xyz(8.9922, 5.8136, 29.9205) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.86
Blueberry
#464196
ΔE00 3.90
Sapphire (survey)
#2138AB
ΔE00 5.06
Ocean Blue
#4F42B5
ΔE00 5.84
Indigo Blue
#3A18B1
ΔE00 6.90
Rebeccapurple
#663399
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#413497 #8A9734
analogous
#345897 #413497 #733497
triadic
#413497 #974134 #349741
tetradic
#413497 #973458 #8A9734 #349773
square
#413497 #973458 #8A9734 #349773
split-complementary
#413497 #977334 #589734
monochromatic
#1A153C #2D2469 #413497 #5848C0 #8276D0
Accessibility & contrast
On white
9.71
#413497 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#413497 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #413497
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##413497 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##413497 | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#174D60
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #413497; /* rgb */ color: rgb(65, 52, 151); /* oklch */ color: oklch(40.2% 0.155 282.9);
Tailwind
colors: {
custom: {
50: '#7e6cb6',
500: '#413497',
950: '#000000',
},
}SCSS
$custom: #413497; $custom-light: #7e6cb6; $custom-dark: #000000;
JSON
{
"hex": "#413497",
"rgb": {
"r": 65,
"g": 52,
"b": 151
},
"hsl": {
"h": 247.879,
"s": 48.768,
"l": 39.804
},
"oklch": {
"l": 0.40179,
"c": 0.1549,
"h": 282.9
},
"luminance": 0.05814
}Semantic roles & 50–950 ramp
primary
#413497
secondary
#AEB86F
accent
#D84FC6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80