#5C5FF7#5C5FF7
#5C5FF7 is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.4% C 0.222 H 276.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5FF7 |
|---|---|
| RGB | rgb(92, 95, 247) |
| HSL | hsl(239, 91%, 66%) |
| HSV | hsv(239, 63%, 97%) |
| CMYK | cmyk(62.8%, 61.5%, 0%, 3.1%) |
| CIE-LAB | lab(48.48, 43.67, -76.50) |
| CIE-LCH | lch(48.48, 88.09, 299.72°) |
| OKLab | oklab(57.36% 0.0232 -0.2204) |
| OKLCH | oklch(57.36% 0.222 276) |
| XYZ | xyz(25.2889, 17.1730, 89.9597) |
| Luminance | 0.1718 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 5.09
Mediumslateblue
#7B68EE
ΔE00 5.21
Warm Blue
#4B57DB
ΔE00 5.28
Light Indigo
#6D5ACF
ΔE00 6.17
Slate Blue
#6A5ACD
ΔE00 6.24
Electric Blue
#0652FF
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5FF7 #F7F45C
analogous
#5CADF7 #5C5FF7 #A75CF7
triadic
#5C5FF7 #F75C5F #5FF75C
tetradic
#5C5FF7 #F75CAD #F7F45C #5CF7A7
square
#5C5FF7 #F75CAD #F7F45C #5CF7A7
split-complementary
#5C5FF7 #F7A75C #ADF75C
monochromatic
#0A0ECE #2226F4 #5C5FF7 #9698FA #D1D2FD
Accessibility & contrast
On white
4.74
#5C5FF7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#5C5FF7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C5FF7
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5FF7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5FF7 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AFC
Deuteranopia (green-blind)
#006CF4
Tritanopia (blue-blind)
#0085A2
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5c5ff7; /* rgb */ color: rgb(92, 95, 247); /* oklch */ color: oklch(57.4% 0.222 276.0);
Tailwind
colors: {
custom: {
50: '#9a8dfb',
500: '#5c5ff7',
950: '#000000',
},
}SCSS
$custom: #5c5ff7; $custom-light: #9a8dfb; $custom-dark: #000000;
JSON
{
"hex": "#5c5ff7",
"rgb": {
"r": 92,
"g": 95,
"b": 247
},
"hsl": {
"h": 238.839,
"s": 90.643,
"l": 66.471
},
"oklch": {
"l": 0.57363,
"c": 0.2216,
"h": 276
},
"luminance": 0.17175
}Semantic roles & 50–950 ramp
primary
#5C5FF7
secondary
#F1F0BE
accent
#E100E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C18
muted
#7F7D86