#5D4CBF#5D4CBF
#5D4CBF is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.8% C 0.173 H 285.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #5D4CBF |
|---|---|
| RGB | rgb(93, 76, 191) |
| HSL | hsl(249, 47%, 52%) |
| HSV | hsv(249, 60%, 75%) |
| CMYK | cmyk(51.3%, 60.2%, 0%, 25.1%) |
| CIE-LAB | lab(40.01, 37.50, -58.33) |
| CIE-LCH | lch(40.01, 69.34, 302.74°) |
| OKLab | oklab(49.85% 0.0447 -0.167) |
| OKLCH | oklch(49.85% 0.173 285) |
| XYZ | xyz(16.4998, 11.2568, 50.5835) |
| Luminance | 0.1126 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.28
Ocean Blue
#4F42B5
ΔE00 3.64
Iris
#6258C4
ΔE00 3.66
Blue With A Hint Of Purple
#533CC6
ΔE00 4.44
Slate Blue
#6A5ACD
ΔE00 4.91
Blurple
#5539CC
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D4CBF #AEBF4C
analogous
#4C74BF #5D4CBF #974CBF
triadic
#5D4CBF #BF5D4C #4CBF5D
tetradic
#5D4CBF #BF4C74 #AEBF4C #4CBF97
square
#5D4CBF #BF4C74 #AEBF4C #4CBF97
split-complementary
#5D4CBF #BF974C #74BF4C
monochromatic
#30266B #453698 #5D4CBF #8679CF #AFA6DF
Accessibility & contrast
On white
6.46
#5D4CBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#5D4CBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D4CBF
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D4CBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D4CBF | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#37677E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #5d4cbf; /* rgb */ color: rgb(93, 76, 191); /* oklch */ color: oklch(49.8% 0.173 285.0);
Tailwind
colors: {
custom: {
50: '#937fd3',
500: '#5d4cbf',
950: '#000000',
},
}SCSS
$custom: #5d4cbf; $custom-light: #937fd3; $custom-dark: #000000;
JSON
{
"hex": "#5d4cbf",
"rgb": {
"r": 93,
"g": 76,
"b": 191
},
"hsl": {
"h": 248.87,
"s": 47.325,
"l": 52.353
},
"oklch": {
"l": 0.49847,
"c": 0.17293,
"h": 285
},
"luminance": 0.11258
}Semantic roles & 50–950 ramp
primary
#5D4CBF
secondary
#C5CC9A
accent
#D751C3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83