#5C5CE9#5C5CE9
#5C5CE9 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.7% C 0.207 H 277.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5CE9 |
|---|---|
| RGB | rgb(92, 92, 233) |
| HSL | hsl(240, 76%, 64%) |
| HSV | hsv(240, 61%, 91%) |
| CMYK | cmyk(60.5%, 60.5%, 0%, 8.6%) |
| CIE-LAB | lab(46.73, 40.96, -71.51) |
| CIE-LCH | lch(46.73, 82.40, 299.80°) |
| OKLab | oklab(55.74% 0.0263 -0.2057) |
| OKLCH | oklch(55.74% 0.207 277.3) |
| XYZ | xyz(22.9440, 15.8110, 78.9178) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.49
Dark Periwinkle
#665FD1
ΔE00 3.51
Slate Blue
#6A5ACD
ΔE00 4.48
Light Indigo
#6D5ACF
ΔE00 4.53
Iris
#6258C4
ΔE00 5.38
Electric Blue
#0652FF
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5CE9 #E9E95C
analogous
#5CA2E9 #5C5CE9 #A25CE9
triadic
#5C5CE9 #E95C5C #5CE95C
tetradic
#5C5CE9 #E95CA2 #E9E95C #5CE9A2
square
#5C5CE9 #E95CA2 #E9E95C #5CE9A2
split-complementary
#5C5CE9 #E9A25C #A2E95C
monochromatic
#1818B3 #2626E2 #5C5CE9 #9292F0 #C8C8F8
Accessibility & contrast
On white
5.04
#5C5CE9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#5C5CE9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C5CE9
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5CE9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5CE9 | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075EE
Deuteranopia (green-blind)
#0069E6
Tritanopia (blue-blind)
#007F9A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5c5ce9; /* rgb */ color: rgb(92, 92, 233); /* oklch */ color: oklch(55.7% 0.207 277.3);
Tailwind
colors: {
custom: {
50: '#988af1',
500: '#5c5ce9',
950: '#000000',
},
}SCSS
$custom: #5c5ce9; $custom-light: #988af1; $custom-dark: #000000;
JSON
{
"hex": "#5c5ce9",
"rgb": {
"r": 92,
"g": 92,
"b": 233
},
"hsl": {
"h": 240,
"s": 76.216,
"l": 63.725
},
"oklch": {
"l": 0.55743,
"c": 0.20742,
"h": 277.3
},
"luminance": 0.15813
}Semantic roles & 50–950 ramp
primary
#5C5CE9
secondary
#E9E9B8
accent
#D80DD8
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85