#5D4FCB#5D4FCB
#5D4FCB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.3% C 0.185 H 282.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5D4FCB |
|---|---|
| RGB | rgb(93, 79, 203) |
| HSL | hsl(247, 54%, 55%) |
| HSV | hsv(247, 61%, 80%) |
| CMYK | cmyk(54.2%, 61.1%, 0%, 20.4%) |
| CIE-LAB | lab(41.58, 39.41, -62.75) |
| CIE-LCH | lch(41.58, 74.10, 302.13°) |
| OKLab | oklab(51.28% 0.0411 -0.18) |
| OKLCH | oklch(51.28% 0.185 282.8) |
| XYZ | xyz(18.0864, 12.2298, 57.8959) |
| Luminance | 0.1223 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.91
Slate Blue
#6A5ACD
ΔE00 3.74
Bluey Purple
#6241C7
ΔE00 3.97
Light Indigo
#6D5ACF
ΔE00 4.07
Warm Blue
#4B57DB
ΔE00 4.33
Dark Periwinkle
#665FD1
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D4FCB #BDCB4F
analogous
#4F7FCB #5D4FCB #9B4FCB
triadic
#5D4FCB #CB5D4F #4FCB5D
tetradic
#5D4FCB #CB4F7F #BDCB4F #4FCB9B
square
#5D4FCB #CB4F7F #BDCB4F #4FCB9B
split-complementary
#5D4FCB #CB9B4F #7FCB4F
monochromatic
#2E247B #4032AA #5D4FCB #887ED9 #B4ADE7
Accessibility & contrast
On white
6.09
#5D4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#5D4FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D4FCB
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D4FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D4FCB | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#2B6D85
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5d4fcb; /* rgb */ color: rgb(93, 79, 203); /* oklch */ color: oklch(51.3% 0.185 282.8);
Tailwind
colors: {
custom: {
50: '#9481dc',
500: '#5d4fcb',
950: '#000000',
},
}SCSS
$custom: #5d4fcb; $custom-light: #9481dc; $custom-dark: #000000;
JSON
{
"hex": "#5d4fcb",
"rgb": {
"r": 93,
"g": 79,
"b": 203
},
"hsl": {
"h": 246.774,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.51277,
"c": 0.18467,
"h": 282.8
},
"luminance": 0.12231
}Semantic roles & 50–950 ramp
primary
#5D4FCB
secondary
#CFD5A1
accent
#DE4ACD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83