#413B79#413B79
#413B79 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 39.1% C 0.102 H 285.1°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #413B79 |
|---|---|
| RGB | rgb(65, 59, 121) |
| HSL | hsl(246, 34%, 35%) |
| HSV | hsv(246, 51%, 47%) |
| CMYK | cmyk(46.3%, 51.2%, 0%, 52.5%) |
| CIE-LAB | lab(28.46, 19.85, -34.69) |
| CIE-LCH | lch(28.46, 39.97, 299.77°) |
| OKLab | oklab(39.12% 0.0265 -0.0985) |
| OKLCH | oklch(39.12% 0.102 285.1) |
| XYZ | xyz(7.1941, 5.6319, 18.7935) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.48
Blueberry
#464196
ΔE00 5.28
Twilight
#4E518B
ΔE00 7.10
Dusk
#4E5481
ΔE00 8.39
Sapphire (survey)
#2138AB
ΔE00 9.62
Rebeccapurple
#663399
ΔE00 9.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#413B79 #73793B
analogous
#3B5479 #413B79 #603B79
triadic
#413B79 #79413B #3B7941
tetradic
#413B79 #793B54 #73793B #3B7960
square
#413B79 #793B54 #73793B #3B7960
split-complementary
#413B79 #79603B #54793B
monochromatic
#151327 #2B2750 #413B79 #574FA2 #7A73BB
Accessibility & contrast
On white
9.88
#413B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#413B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #413B79
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##413B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##413B79 | 1.00 | 9.88 | 2.13 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21457B
Deuteranopia (green-blind)
#1F4178
Tritanopia (blue-blind)
#2F4854
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #413b79; /* rgb */ color: rgb(65, 59, 121); /* oklch */ color: oklch(39.1% 0.102 285.1);
Tailwind
colors: {
custom: {
50: '#7971a0',
500: '#413b79',
950: '#000000',
},
}SCSS
$custom: #413b79; $custom-light: #7971a0; $custom-dark: #000000;
JSON
{
"hex": "#413b79",
"rgb": {
"r": 65,
"g": 59,
"b": 121
},
"hsl": {
"h": 245.806,
"s": 34.444,
"l": 35.294
},
"oklch": {
"l": 0.39124,
"c": 0.10199,
"h": 285.1
},
"luminance": 0.05632
}Semantic roles & 50–950 ramp
primary
#413B79
secondary
#9FA56B
accent
#CB5DC0
background
#F7F6F9
surface
#EEECF2
border
#C9C7CC
text
#09070F
muted
#7B7A7E