#5F5A82#5F5A82
#5F5A82 is a mid, moderate blue. Relative luminance 0.114; OKLCH L 48.9% C 0.064 H 289.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5A82 |
|---|---|
| RGB | rgb(95, 90, 130) |
| HSL | hsl(248, 18%, 43%) |
| HSV | hsv(248, 31%, 51%) |
| CMYK | cmyk(26.9%, 30.8%, 0%, 49%) |
| CIE-LAB | lab(40.17, 11.48, -21.66) |
| CIE-LCH | lch(40.17, 24.51, 297.93°) |
| OKLab | oklab(48.87% 0.0213 -0.0599) |
| OKLCH | oklch(48.87% 0.064 289.6) |
| XYZ | xyz(12.4037, 11.3567, 22.6533) |
| Luminance | 0.1136 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 4.83
Twilight
#4E518B
ΔE00 6.45
Dusky Blue
#475F94
ΔE00 9.49
Muted Purple
#805B87
ΔE00 9.62
Purplish Grey
#7A687F
ΔE00 9.63
Dusty Purple
#825F87
ΔE00 9.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5A82 #7D825A
analogous
#5A6982 #5F5A82 #735A82
triadic
#5F5A82 #825F5A #5A825F
tetradic
#5F5A82 #825A69 #7D825A #5A8273
square
#5F5A82 #825A69 #7D825A #5A8273
split-complementary
#5F5A82 #82735A #69825A
monochromatic
#2A283A #45415E #5F5A82 #7D78A1 #A09CBA
Accessibility & contrast
On white
6.42
#5F5A82 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#5F5A82 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5A82
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5A82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5A82 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505F84
Deuteranopia (green-blind)
#4F5E81
Tritanopia (blue-blind)
#576168
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5f5a82; /* rgb */ color: rgb(95, 90, 130); /* oklch */ color: oklch(48.9% 0.064 289.6);
Tailwind
colors: {
custom: {
50: '#8d88a6',
500: '#5f5a82',
950: '#000000',
},
}SCSS
$custom: #5f5a82; $custom-light: #8d88a6; $custom-dark: #000000;
JSON
{
"hex": "#5f5a82",
"rgb": {
"r": 95,
"g": 90,
"b": 130
},
"hsl": {
"h": 247.5,
"s": 18.182,
"l": 43.137
},
"oklch": {
"l": 0.48866,
"c": 0.06359,
"h": 289.6
},
"luminance": 0.11357
}Semantic roles & 50–950 ramp
primary
#5F5A82
secondary
#A5A98F
accent
#BB6DB1
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0C0B0F
muted
#7D7C7F