#5D598F#5D598F
#5D598F is a mid, moderate blue. Relative luminance 0.115; OKLCH L 49.1% C 0.085 H 286.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #5D598F |
|---|---|
| RGB | rgb(93, 89, 143) |
| HSL | hsl(244, 23%, 45%) |
| HSV | hsv(244, 38%, 56%) |
| CMYK | cmyk(35%, 37.8%, 0%, 43.9%) |
| CIE-LAB | lab(40.34, 15.07, -29.30) |
| CIE-LCH | lch(40.34, 32.95, 297.22°) |
| OKLab | oklab(49.15% 0.0238 -0.082) |
| OKLCH | oklch(49.15% 0.085 286.2) |
| XYZ | xyz(13.0432, 11.4547, 27.5050) |
| Luminance | 0.1145 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.90
Dusk
#4E5481
ΔE00 4.10
Dusky Blue
#475F94
ΔE00 7.45
Royal Purple
#7851A9
ΔE00 8.71
Denim Blue
#3B5B92
ΔE00 9.24
Blueberry
#464196
ΔE00 9.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D598F #8B8F59
analogous
#59708F #5D598F #78598F
triadic
#5D598F #8F5D59 #598F5D
tetradic
#5D598F #8F5970 #8B8F59 #598F78
square
#5D598F #8F5970 #8B8F59 #598F78
split-complementary
#5D598F #8F7859 #708F59
monochromatic
#2C2A44 #444269 #5D598F #7D79AC #A29FC3
Accessibility & contrast
On white
6.38
#5D598F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#5D598F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D598F
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D598F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D598F | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#486191
Deuteranopia (green-blind)
#475E8E
Tritanopia (blue-blind)
#50636D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5d598f; /* rgb */ color: rgb(93, 89, 143); /* oklch */ color: oklch(49.1% 0.085 286.2);
Tailwind
colors: {
custom: {
50: '#8d87b0',
500: '#5d598f',
950: '#000000',
},
}SCSS
$custom: #5d598f; $custom-light: #8d87b0; $custom-dark: #000000;
JSON
{
"hex": "#5d598f",
"rgb": {
"r": 93,
"g": 89,
"b": 143
},
"hsl": {
"h": 244.444,
"s": 23.276,
"l": 45.49
},
"oklch": {
"l": 0.49147,
"c": 0.08535,
"h": 286.2
},
"luminance": 0.11455
}Semantic roles & 50–950 ramp
primary
#5D598F
secondary
#AFB193
accent
#C068B9
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0C0B10
muted
#7D7C7F