#413989#413989
#413989 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.129 H 283.4°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #413989 |
|---|---|
| RGB | rgb(65, 57, 137) |
| HSL | hsl(246, 41%, 38%) |
| HSV | hsv(246, 58%, 54%) |
| CMYK | cmyk(52.6%, 58.4%, 0%, 46.3%) |
| CIE-LAB | lab(29.05, 26.39, -43.75) |
| CIE-LCH | lch(29.05, 51.09, 301.09°) |
| OKLab | oklab(39.91% 0.0299 -0.1251) |
| OKLCH | oklch(39.91% 0.129 283.4) |
| XYZ | xyz(8.1571, 5.8558, 24.3625) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 1.57
Blueberry
#464196
ΔE00 2.91
Sapphire (survey)
#2138AB
ΔE00 6.66
Ocean Blue
#4F42B5
ΔE00 7.29
Twilight
#4E518B
ΔE00 7.90
Rebeccapurple
#663399
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#413989 #818939
analogous
#395989 #413989 #693989
triadic
#413989 #894139 #398941
tetradic
#413989 #893959 #818939 #398969
square
#413989 #893959 #818939 #398969
split-complementary
#413989 #896939 #598939
monochromatic
#181533 #2C275E #413989 #564BB4 #7E76C6
Accessibility & contrast
On white
9.67
#413989 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#413989 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #413989
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##413989 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##413989 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#254B5B
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #413989; /* rgb */ color: rgb(65, 57, 137); /* oklch */ color: oklch(39.9% 0.129 283.4);
Tailwind
colors: {
custom: {
50: '#7c6fac',
500: '#413989',
950: '#000000',
},
}SCSS
$custom: #413989; $custom-light: #7c6fac; $custom-dark: #000000;
JSON
{
"hex": "#413989",
"rgb": {
"r": 65,
"g": 57,
"b": 137
},
"hsl": {
"h": 246,
"s": 41.237,
"l": 38.039
},
"oklch": {
"l": 0.39912,
"c": 0.12865,
"h": 283.4
},
"luminance": 0.05856
}Semantic roles & 50–950 ramp
primary
#413989
secondary
#A9AF6F
accent
#D157C5
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F