#5D5CD9#5D5CD9
#5D5CD9 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.6% C 0.186 H 278.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5CD9 |
|---|---|
| RGB | rgb(93, 92, 217) |
| HSL | hsl(240, 62%, 61%) |
| HSV | hsv(240, 58%, 85%) |
| CMYK | cmyk(57.1%, 57.6%, 0%, 14.9%) |
| CIE-LAB | lab(45.62, 36.00, -64.23) |
| CIE-LCH | lch(45.62, 73.63, 299.27°) |
| OKLab | oklab(54.58% 0.0279 -0.1843) |
| OKLCH | oklch(54.58% 0.186 278.6) |
| XYZ | xyz(20.8618, 14.9898, 67.4262) |
| Luminance | 0.1499 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.96
Warm Blue
#4B57DB
ΔE00 2.75
Slate Blue
#6A5ACD
ΔE00 2.98
Light Indigo
#6D5ACF
ΔE00 3.28
Iris
#6258C4
ΔE00 3.44
Azul
#1D5DEC
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5CD9 #D8D95C
analogous
#5C99D9 #5D5CD9 #9B5CD9
triadic
#5D5CD9 #D95D5C #5CD95D
tetradic
#5D5CD9 #D95C99 #D8D95C #5CD99B
square
#5D5CD9 #D95C99 #D8D95C #5CD99B
split-complementary
#5D5CD9 #D99B5C #99D95C
monochromatic
#242397 #302FC9 #5D5CD9 #8E8EE5 #C0BFF0
Accessibility & contrast
On white
5.25
#5D5CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#5D5CD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5CD9
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5CD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5CD9 | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#107A92
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5d5cd9; /* rgb */ color: rgb(93, 92, 217); /* oklch */ color: oklch(54.6% 0.186 278.6);
Tailwind
colors: {
custom: {
50: '#968ae6',
500: '#5d5cd9',
950: '#000000',
},
}SCSS
$custom: #5d5cd9; $custom-light: #968ae6; $custom-dark: #000000;
JSON
{
"hex": "#5d5cd9",
"rgb": {
"r": 93,
"g": 92,
"b": 217
},
"hsl": {
"h": 240.48,
"s": 62.189,
"l": 60.588
},
"oklch": {
"l": 0.54576,
"c": 0.18642,
"h": 278.6
},
"luminance": 0.14991
}Semantic roles & 50–950 ramp
primary
#5D5CD9
secondary
#E0E0B1
accent
#CA1CC9
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84