#5C5CE3#5C5CE3
#5C5CE3 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.3% C 0.200 H 277.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5CE3 |
|---|---|
| RGB | rgb(92, 92, 227) |
| HSL | hsl(240, 71%, 63%) |
| HSV | hsv(240, 59%, 89%) |
| CMYK | cmyk(59.5%, 59.5%, 0%, 11%) |
| CIE-LAB | lab(46.28, 39.03, -68.85) |
| CIE-LCH | lch(46.28, 79.14, 299.55°) |
| OKLab | oklab(55.27% 0.0266 -0.1979) |
| OKLCH | oklch(55.27% 0.2 277.6) |
| XYZ | xyz(22.1015, 15.4740, 74.4803) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.90
Warm Blue
#4B57DB
ΔE00 3.01
Slate Blue
#6A5ACD
ΔE00 3.90
Light Indigo
#6D5ACF
ΔE00 4.04
Iris
#6258C4
ΔE00 4.66
Azul
#1D5DEC
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5CE3 #E3E35C
analogous
#5C9FE3 #5C5CE3 #9F5CE3
triadic
#5C5CE3 #E35C5C #5CE35C
tetradic
#5C5CE3 #E35C9F #E3E35C #5CE39F
square
#5C5CE3 #E35C9F #E3E35C #5CE39F
split-complementary
#5C5CE3 #E39F5C #9FE35C
monochromatic
#1D1DA8 #2828DA #5C5CE3 #9090EC #C4C4F5
Accessibility & contrast
On white
5.13
#5C5CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#5C5CE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C5CE3
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5CE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5CE3 | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#0068E0
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5c5ce3; /* rgb */ color: rgb(92, 92, 227); /* oklch */ color: oklch(55.3% 0.200 277.6);
Tailwind
colors: {
custom: {
50: '#978aed',
500: '#5c5ce3',
950: '#000000',
},
}SCSS
$custom: #5c5ce3; $custom-light: #978aed; $custom-dark: #000000;
JSON
{
"hex": "#5c5ce3",
"rgb": {
"r": 92,
"g": 92,
"b": 227
},
"hsl": {
"h": 240,
"s": 70.681,
"l": 62.549
},
"oklch": {
"l": 0.55272,
"c": 0.19969,
"h": 277.6
},
"luminance": 0.15476
}Semantic roles & 50–950 ramp
primary
#5C5CE3
secondary
#E6E6B5
accent
#D313D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84