#413986#413986
#413986 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.124 H 283.9°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #413986 |
|---|---|
| RGB | rgb(65, 57, 134) |
| HSL | hsl(246, 40%, 37%) |
| HSV | hsv(246, 57%, 53%) |
| CMYK | cmyk(51.5%, 57.5%, 0%, 47.5%) |
| CIE-LAB | lab(28.83, 25.40, -42.24) |
| CIE-LCH | lch(28.83, 49.29, 301.02°) |
| OKLab | oklab(39.68% 0.0298 -0.1207) |
| OKLCH | oklch(39.68% 0.124 283.9) |
| XYZ | xyz(7.9449, 5.7709, 23.2449) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 1.61
Blueberry
#464196
ΔE00 3.26
Sapphire (survey)
#2138AB
ΔE00 7.15
Ocean Blue
#4F42B5
ΔE00 7.77
Twilight
#4E518B
ΔE00 7.79
Rebeccapurple
#663399
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#413986 #7E8639
analogous
#395786 #413986 #683986
triadic
#413986 #864139 #398641
tetradic
#413986 #863957 #7E8639 #398668
square
#413986 #863957 #7E8639 #398668
split-complementary
#413986 #866839 #578639
monochromatic
#171430 #2C275B #413986 #564BB1 #7D75C4
Accessibility & contrast
On white
9.75
#413986 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#413986 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #413986
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##413986 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##413986 | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#084689
Deuteranopia (green-blind)
#014184
Tritanopia (blue-blind)
#274A59
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #413986; /* rgb */ color: rgb(65, 57, 134); /* oklch */ color: oklch(39.7% 0.124 283.9);
Tailwind
colors: {
custom: {
50: '#7b6faa',
500: '#413986',
950: '#000000',
},
}SCSS
$custom: #413986; $custom-light: #7b6faa; $custom-dark: #000000;
JSON
{
"hex": "#413986",
"rgb": {
"r": 65,
"g": 57,
"b": 134
},
"hsl": {
"h": 246.234,
"s": 40.314,
"l": 37.451
},
"oklch": {
"l": 0.3968,
"c": 0.12432,
"h": 283.9
},
"luminance": 0.05771
}Semantic roles & 50–950 ramp
primary
#413986
secondary
#A7AD6D
accent
#D058C4
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F