#5C5CE5#5C5CE5
#5C5CE5 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.4% C 0.202 H 277.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5CE5 |
|---|---|
| RGB | rgb(92, 92, 229) |
| HSL | hsl(240, 72%, 63%) |
| HSV | hsv(240, 60%, 90%) |
| CMYK | cmyk(59.8%, 59.8%, 0%, 10.2%) |
| CIE-LAB | lab(46.43, 39.67, -69.74) |
| CIE-LCH | lch(46.43, 80.23, 299.64°) |
| OKLab | oklab(55.43% 0.0265 -0.2005) |
| OKLCH | oklch(55.43% 0.202 277.5) |
| XYZ | xyz(22.3791, 15.5851, 75.9425) |
| Luminance | 0.1559 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.09
Warm Blue
#4B57DB
ΔE00 3.15
Slate Blue
#6A5ACD
ΔE00 4.09
Light Indigo
#6D5ACF
ΔE00 4.20
Iris
#6258C4
ΔE00 4.90
Electric Blue
#0652FF
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5CE5 #E5E55C
analogous
#5CA0E5 #5C5CE5 #A05CE5
triadic
#5C5CE5 #E55C5C #5CE55C
tetradic
#5C5CE5 #E55CA0 #E5E55C #5CE5A0
square
#5C5CE5 #E55CA0 #E5E55C #5CE5A0
split-complementary
#5C5CE5 #E5A05C #A0E55C
monochromatic
#1B1BAB #2727DD #5C5CE5 #9191ED #C6C6F6
Accessibility & contrast
On white
5.10
#5C5CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#5C5CE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C5CE5
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5CE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5CE5 | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5c5ce5; /* rgb */ color: rgb(92, 92, 229); /* oklch */ color: oklch(55.4% 0.202 277.5);
Tailwind
colors: {
custom: {
50: '#978aee',
500: '#5c5ce5',
950: '#000000',
},
}SCSS
$custom: #5c5ce5; $custom-light: #978aee; $custom-dark: #000000;
JSON
{
"hex": "#5c5ce5",
"rgb": {
"r": 92,
"g": 92,
"b": 229
},
"hsl": {
"h": 240,
"s": 72.487,
"l": 62.941
},
"oklch": {
"l": 0.55428,
"c": 0.20228,
"h": 277.5
},
"luminance": 0.15587
}Semantic roles & 50–950 ramp
primary
#5C5CE5
secondary
#E7E7B6
accent
#D511D5
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84