#5D5CD8#5D5CD8
#5D5CD8 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.5% C 0.185 H 278.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5CD8 |
|---|---|
| RGB | rgb(93, 92, 216) |
| HSL | hsl(240, 61%, 60%) |
| HSV | hsv(240, 57%, 85%) |
| CMYK | cmyk(56.9%, 57.4%, 0%, 15.3%) |
| CIE-LAB | lab(45.55, 35.68, -63.78) |
| CIE-LCH | lch(45.55, 73.08, 299.23°) |
| OKLab | oklab(54.5% 0.0279 -0.183) |
| OKLCH | oklch(54.5% 0.185 278.7) |
| XYZ | xyz(20.7321, 14.9379, 66.7432) |
| Luminance | 0.1494 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.90
Warm Blue
#4B57DB
ΔE00 2.74
Slate Blue
#6A5ACD
ΔE00 2.91
Light Indigo
#6D5ACF
ΔE00 3.24
Iris
#6258C4
ΔE00 3.32
Azul
#1D5DEC
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5CD8 #D7D85C
analogous
#5C99D8 #5D5CD8 #9B5CD8
triadic
#5D5CD8 #D85D5C #5CD85D
tetradic
#5D5CD8 #D85C99 #D7D85C #5CD89B
square
#5D5CD8 #D85C99 #D7D85C #5CD89B
split-complementary
#5D5CD8 #D89B5C #99D85C
monochromatic
#252496 #3130C7 #5D5CD8 #8E8DE4 #BFBFF0
Accessibility & contrast
On white
5.27
#5D5CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#5D5CD8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5CD8
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5CD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5CD8 | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#137991
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5d5cd8; /* rgb */ color: rgb(93, 92, 216); /* oklch */ color: oklch(54.5% 0.185 278.7);
Tailwind
colors: {
custom: {
50: '#958ae5',
500: '#5d5cd8',
950: '#000000',
},
}SCSS
$custom: #5d5cd8; $custom-light: #958ae5; $custom-dark: #000000;
JSON
{
"hex": "#5d5cd8",
"rgb": {
"r": 93,
"g": 92,
"b": 216
},
"hsl": {
"h": 240.484,
"s": 61.386,
"l": 60.392
},
"oklch": {
"l": 0.545,
"c": 0.1851,
"h": 278.7
},
"luminance": 0.14939
}Semantic roles & 50–950 ramp
primary
#5D5CD8
secondary
#DFE0B0
accent
#C91CC8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84