#5D5CD4#5D5CD4
#5D5CD4 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.2% C 0.180 H 278.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5CD4 |
|---|---|
| RGB | rgb(93, 92, 212) |
| HSL | hsl(241, 58%, 60%) |
| HSV | hsv(241, 57%, 83%) |
| CMYK | cmyk(56.1%, 56.6%, 0%, 16.9%) |
| CIE-LAB | lab(45.27, 34.41, -61.95) |
| CIE-LCH | lch(45.27, 70.86, 299.05°) |
| OKLab | oklab(54.2% 0.0279 -0.1776) |
| OKLCH | oklch(54.2% 0.18 278.9) |
| XYZ | xyz(20.2213, 14.7336, 64.0529) |
| Luminance | 0.1474 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.73
Slate Blue
#6A5ACD
ΔE00 2.70
Warm Blue
#4B57DB
ΔE00 2.81
Iris
#6258C4
ΔE00 2.87
Light Indigo
#6D5ACF
ΔE00 3.11
Azul
#1D5DEC
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5CD4 #D3D45C
analogous
#5C97D4 #5D5CD4 #995CD4
triadic
#5D5CD4 #D45D5C #5CD45D
tetradic
#5D5CD4 #D45C97 #D3D45C #5CD499
square
#5D5CD4 #D45C97 #D3D45C #5CD499
split-complementary
#5D5CD4 #D4995C #97D45C
monochromatic
#272690 #3433C0 #5D5CD4 #8D8CE1 #BDBDEE
Accessibility & contrast
On white
5.32
#5D5CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#5D5CD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5CD4
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5CD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5CD4 | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#1C788F
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5d5cd4; /* rgb */ color: rgb(93, 92, 212); /* oklch */ color: oklch(54.2% 0.180 278.9);
Tailwind
colors: {
custom: {
50: '#958ae2',
500: '#5d5cd4',
950: '#000000',
},
}SCSS
$custom: #5d5cd4; $custom-light: #958ae2; $custom-dark: #000000;
JSON
{
"hex": "#5d5cd4",
"rgb": {
"r": 93,
"g": 92,
"b": 212
},
"hsl": {
"h": 240.5,
"s": 58.252,
"l": 59.608
},
"oklch": {
"l": 0.54202,
"c": 0.17979,
"h": 278.9
},
"luminance": 0.14735
}Semantic roles & 50–950 ramp
primary
#5D5CD4
secondary
#DDDDAF
accent
#E146E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83