#5C5CEB#5C5CEB
#5C5CEB is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 55.9% C 0.210 H 277.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5CEB |
|---|---|
| RGB | rgb(92, 92, 235) |
| HSL | hsl(240, 78%, 64%) |
| HSV | hsv(240, 61%, 92%) |
| CMYK | cmyk(60.9%, 60.9%, 0%, 7.8%) |
| CIE-LAB | lab(46.88, 41.60, -72.39) |
| CIE-LCH | lch(46.88, 83.49, 299.88°) |
| OKLab | oklab(55.9% 0.0262 -0.2083) |
| OKLCH | oklch(55.9% 0.21 277.2) |
| XYZ | xyz(23.2313, 15.9260, 80.4309) |
| Luminance | 0.1593 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.67
Dark Periwinkle
#665FD1
ΔE00 3.72
Slate Blue
#6A5ACD
ΔE00 4.68
Light Indigo
#6D5ACF
ΔE00 4.71
Iris
#6258C4
ΔE00 5.62
Electric Blue
#0652FF
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5CEB #EBEB5C
analogous
#5CA4EB #5C5CEB #A45CEB
triadic
#5C5CEB #EB5C5C #5CEB5C
tetradic
#5C5CEB #EB5CA4 #EBEB5C #5CEBA4
square
#5C5CEB #EB5CA4 #EBEB5C #5CEBA4
split-complementary
#5C5CEB #EBA45C #A4EB5C
monochromatic
#1616B6 #2525E4 #5C5CEB #9393F2 #C9C9F8
Accessibility & contrast
On white
5.02
#5C5CEB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#5C5CEB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C5CEB
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5CEB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5CEB | 1.00 | 5.02 | 4.19 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#0069E8
Tritanopia (blue-blind)
#007F9B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5c5ceb; /* rgb */ color: rgb(92, 92, 235); /* oklch */ color: oklch(55.9% 0.210 277.2);
Tailwind
colors: {
custom: {
50: '#988af2',
500: '#5c5ceb',
950: '#000000',
},
}SCSS
$custom: #5c5ceb; $custom-light: #988af2; $custom-dark: #000000;
JSON
{
"hex": "#5c5ceb",
"rgb": {
"r": 92,
"g": 92,
"b": 235
},
"hsl": {
"h": 240,
"s": 78.142,
"l": 64.118
},
"oklch": {
"l": 0.55901,
"c": 0.20997,
"h": 277.2
},
"luminance": 0.15928
}Semantic roles & 50–950 ramp
primary
#5C5CEB
secondary
#EAEAB8
accent
#DA0BDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85