#413987#413987
#413987 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.126 H 283.7°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #413987 |
|---|---|
| RGB | rgb(65, 57, 135) |
| HSL | hsl(246, 41%, 38%) |
| HSV | hsv(246, 58%, 53%) |
| CMYK | cmyk(51.9%, 57.8%, 0%, 47.1%) |
| CIE-LAB | lab(28.90, 25.73, -42.75) |
| CIE-LCH | lch(28.90, 49.89, 301.04°) |
| OKLab | oklab(39.76% 0.0299 -0.1222) |
| OKLCH | oklch(39.76% 0.126 283.7) |
| XYZ | xyz(8.0150, 5.7989, 23.6140) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 1.58
Blueberry
#464196
ΔE00 3.14
Sapphire (survey)
#2138AB
ΔE00 6.98
Ocean Blue
#4F42B5
ΔE00 7.61
Twilight
#4E518B
ΔE00 7.82
Rebeccapurple
#663399
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#413987 #7F8739
analogous
#395887 #413987 #683987
triadic
#413987 #874139 #398741
tetradic
#413987 #873958 #7F8739 #398768
square
#413987 #873958 #7F8739 #398768
split-complementary
#413987 #876839 #588739
monochromatic
#181531 #2C275C #413987 #564BB2 #7E75C5
Accessibility & contrast
On white
9.72
#413987 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#413987 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #413987
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##413987 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##413987 | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#05478A
Deuteranopia (green-blind)
#004285
Tritanopia (blue-blind)
#274B5A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #413987; /* rgb */ color: rgb(65, 57, 135); /* oklch */ color: oklch(39.8% 0.126 283.7);
Tailwind
colors: {
custom: {
50: '#7b6faa',
500: '#413987',
950: '#000000',
},
}SCSS
$custom: #413987; $custom-light: #7b6faa; $custom-dark: #000000;
JSON
{
"hex": "#413987",
"rgb": {
"r": 65,
"g": 57,
"b": 135
},
"hsl": {
"h": 246.154,
"s": 40.625,
"l": 37.647
},
"oklch": {
"l": 0.39757,
"c": 0.12576,
"h": 283.7
},
"luminance": 0.05799
}Semantic roles & 50–950 ramp
primary
#413987
secondary
#A7AE6E
accent
#D057C4
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F