#5C5EF7#5C5EF7
#5C5EF7 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.2% C 0.223 H 276.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5EF7 |
|---|---|
| RGB | rgb(92, 94, 247) |
| HSL | hsl(239, 91%, 66%) |
| HSV | hsv(239, 63%, 97%) |
| CMYK | cmyk(62.8%, 61.9%, 0%, 3.1%) |
| CIE-LAB | lab(48.25, 44.26, -76.87) |
| CIE-LCH | lch(48.25, 88.70, 299.93°) |
| OKLab | oklab(57.2% 0.024 -0.2215) |
| OKLCH | oklch(57.2% 0.223 276.2) |
| XYZ | xyz(25.1994, 16.9940, 89.9299) |
| Luminance | 0.1700 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 5.06
Warm Blue
#4B57DB
ΔE00 5.15
Mediumslateblue
#7B68EE
ΔE00 5.34
Light Indigo
#6D5ACF
ΔE00 6.06
Electric Blue
#0652FF
ΔE00 6.09
Slate Blue
#6A5ACD
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5EF7 #F7F55C
analogous
#5CACF7 #5C5EF7 #A85CF7
triadic
#5C5EF7 #F75C5E #5EF75C
tetradic
#5C5EF7 #F75CAC #F7F55C #5CF7A8
square
#5C5EF7 #F75CAC #F7F55C #5CF7A8
split-complementary
#5C5EF7 #F7A85C #ACF75C
monochromatic
#0A0DCE #2224F4 #5C5EF7 #9698FA #D1D1FD
Accessibility & contrast
On white
4.77
#5C5EF7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#5C5EF7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C5EF7
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5EF7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5EF7 | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079FC
Deuteranopia (green-blind)
#006CF4
Tritanopia (blue-blind)
#0085A2
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5c5ef7; /* rgb */ color: rgb(92, 94, 247); /* oklch */ color: oklch(57.2% 0.223 276.2);
Tailwind
colors: {
custom: {
50: '#9a8cfb',
500: '#5c5ef7',
950: '#000000',
},
}SCSS
$custom: #5c5ef7; $custom-light: #9a8cfb; $custom-dark: #000000;
JSON
{
"hex": "#5c5ef7",
"rgb": {
"r": 92,
"g": 94,
"b": 247
},
"hsl": {
"h": 239.226,
"s": 90.643,
"l": 66.471
},
"oklch": {
"l": 0.57198,
"c": 0.22276,
"h": 276.2
},
"luminance": 0.16996
}Semantic roles & 50–950 ramp
primary
#5C5EF7
secondary
#F1F0BE
accent
#E300E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C18
muted
#7F7D86