#413786#413786
#413786 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.127 H 284.7°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #413786 |
|---|---|
| RGB | rgb(65, 55, 134) |
| HSL | hsl(248, 42%, 37%) |
| HSV | hsv(248, 59%, 53%) |
| CMYK | cmyk(51.5%, 59%, 0%, 47.5%) |
| CIE-LAB | lab(28.32, 26.70, -43.06) |
| CIE-LCH | lch(28.32, 50.67, 301.79°) |
| OKLab | oklab(39.3% 0.0322 -0.1231) |
| OKLCH | oklch(39.3% 0.127 284.7) |
| XYZ | xyz(7.8480, 5.5770, 23.2126) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 1.96
Blueberry
#464196
ΔE00 3.63
Sapphire (survey)
#2138AB
ΔE00 7.14
Ocean Blue
#4F42B5
ΔE00 7.85
Rebeccapurple
#663399
ΔE00 7.91
Twilight
#4E518B
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#413786 #7C8637
analogous
#375586 #413786 #693786
triadic
#413786 #864137 #378641
tetradic
#413786 #863755 #7C8637 #378669
square
#413786 #863755 #7C8637 #378669
split-complementary
#413786 #866937 #558637
monochromatic
#17132F #2C255B #413786 #5649B1 #7D72C5
Accessibility & contrast
On white
9.93
#413786 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#413786 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #413786
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##413786 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##413786 | 1.00 | 9.93 | 2.12 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#004084
Tritanopia (blue-blind)
#284959
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #413786; /* rgb */ color: rgb(65, 55, 134); /* oklch */ color: oklch(39.3% 0.127 284.7);
Tailwind
colors: {
custom: {
50: '#7b6eaa',
500: '#413786',
950: '#000000',
},
}SCSS
$custom: #413786; $custom-light: #7b6eaa; $custom-dark: #000000;
JSON
{
"hex": "#413786",
"rgb": {
"r": 65,
"g": 55,
"b": 134
},
"hsl": {
"h": 247.595,
"s": 41.799,
"l": 37.059
},
"oklch": {
"l": 0.39304,
"c": 0.12725,
"h": 284.7
},
"luminance": 0.05577
}Semantic roles & 50–950 ramp
primary
#413786
secondary
#A5AE6B
accent
#D256C2
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F