#413B87#413B87
#413B87 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.123 H 282.9°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #413B87 |
|---|---|
| RGB | rgb(65, 59, 135) |
| HSL | hsl(245, 39%, 38%) |
| HSV | hsv(245, 56%, 53%) |
| CMYK | cmyk(51.9%, 56.3%, 0%, 47.1%) |
| CIE-LAB | lab(29.41, 24.42, -41.92) |
| CIE-LCH | lch(29.41, 48.52, 300.23°) |
| OKLab | oklab(40.14% 0.0275 -0.1197) |
| OKLCH | oklch(40.14% 0.123 282.9) |
| XYZ | xyz(8.1158, 6.0006, 23.6476) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 1.43
Blueberry
#464196
ΔE00 2.83
Sapphire (survey)
#2138AB
ΔE00 7.03
Twilight
#4E518B
ΔE00 7.20
Ocean Blue
#4F42B5
ΔE00 7.57
Rebeccapurple
#663399
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#413B87 #81873B
analogous
#3B5B87 #413B87 #673B87
triadic
#413B87 #87413B #3B8741
tetradic
#413B87 #873B5B #81873B #3B8767
square
#413B87 #873B5B #81873B #3B8767
split-complementary
#413B87 #87673B #5B873B
monochromatic
#181632 #2C285C #413B87 #564EB2 #7E78C4
Accessibility & contrast
On white
9.54
#413B87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#413B87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #413B87
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##413B87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##413B87 | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E488A
Deuteranopia (green-blind)
#064385
Tritanopia (blue-blind)
#264C5B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #413b87; /* rgb */ color: rgb(65, 59, 135); /* oklch */ color: oklch(40.1% 0.123 282.9);
Tailwind
colors: {
custom: {
50: '#7b71aa',
500: '#413b87',
950: '#000000',
},
}SCSS
$custom: #413b87; $custom-light: #7b71aa; $custom-dark: #000000;
JSON
{
"hex": "#413b87",
"rgb": {
"r": 65,
"g": 59,
"b": 135
},
"hsl": {
"h": 244.737,
"s": 39.175,
"l": 38.039
},
"oklch": {
"l": 0.40139,
"c": 0.12283,
"h": 282.9
},
"luminance": 0.06001
}Semantic roles & 50–950 ramp
primary
#413B87
secondary
#A9AE70
accent
#CF59C6
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F