#5C5CD7#5C5CD7
#5C5CD7 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.4% C 0.184 H 278.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5CD7 |
|---|---|
| RGB | rgb(92, 92, 215) |
| HSL | hsl(240, 61%, 60%) |
| HSV | hsv(240, 57%, 84%) |
| CMYK | cmyk(57.2%, 57.2%, 0%, 15.7%) |
| CIE-LAB | lab(45.41, 35.18, -63.44) |
| CIE-LCH | lch(45.41, 72.54, 299.01°) |
| OKLab | oklab(54.35% 0.0267 -0.182) |
| OKLCH | oklch(54.35% 0.184 278.4) |
| XYZ | xyz(20.5026, 14.8345, 66.0597) |
| Luminance | 0.1484 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.97
Warm Blue
#4B57DB
ΔE00 2.62
Slate Blue
#6A5ACD
ΔE00 2.99
Iris
#6258C4
ΔE00 3.26
Light Indigo
#6D5ACF
ΔE00 3.35
Azul
#1D5DEC
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5CD7 #D7D75C
analogous
#5C99D7 #5C5CD7 #995CD7
triadic
#5C5CD7 #D75C5C #5CD75C
tetradic
#5C5CD7 #D75C99 #D7D75C #5CD799
square
#5C5CD7 #D75C99 #D7D75C #5CD799
split-complementary
#5C5CD7 #D7995C #99D75C
monochromatic
#242494 #3030C5 #5C5CD7 #8D8DE3 #BEBEEF
Accessibility & contrast
On white
5.29
#5C5CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#5C5CD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C5CD7
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5CD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5CD7 | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#0066D4
Tritanopia (blue-blind)
#0F7990
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5c5cd7; /* rgb */ color: rgb(92, 92, 215); /* oklch */ color: oklch(54.4% 0.184 278.4);
Tailwind
colors: {
custom: {
50: '#958ae4',
500: '#5c5cd7',
950: '#000000',
},
}SCSS
$custom: #5c5cd7; $custom-light: #958ae4; $custom-dark: #000000;
JSON
{
"hex": "#5c5cd7",
"rgb": {
"r": 92,
"g": 92,
"b": 215
},
"hsl": {
"h": 240,
"s": 60.591,
"l": 60.196
},
"oklch": {
"l": 0.54354,
"c": 0.18397,
"h": 278.4
},
"luminance": 0.14836
}Semantic roles & 50–950 ramp
primary
#5C5CD7
secondary
#DFDFB0
accent
#C81DC8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84