#5C5FE4#5C5FE4
#5C5FE4 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.9% C 0.197 H 276.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5FE4 |
|---|---|
| RGB | rgb(92, 95, 228) |
| HSL | hsl(239, 72%, 63%) |
| HSV | hsv(239, 60%, 89%) |
| CMYK | cmyk(59.6%, 58.3%, 0%, 10.6%) |
| CIE-LAB | lab(47.05, 37.55, -68.15) |
| CIE-LCH | lch(47.05, 77.81, 298.85°) |
| OKLab | oklab(55.87% 0.0238 -0.1959) |
| OKLCH | oklch(55.87% 0.197 276.9) |
| XYZ | xyz(22.5049, 16.0595, 75.2976) |
| Luminance | 0.1606 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.98
Warm Blue
#4B57DB
ΔE00 3.56
Slate Blue
#6A5ACD
ΔE00 4.37
Light Indigo
#6D5ACF
ΔE00 4.50
Iris
#6258C4
ΔE00 5.18
Royal Blue
#4169E1
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5FE4 #E4E15C
analogous
#5CA3E4 #5C5FE4 #9D5CE4
triadic
#5C5FE4 #E45C5F #5FE45C
tetradic
#5C5FE4 #E45CA3 #E4E15C #5CE49D
square
#5C5FE4 #E45CA3 #E4E15C #5CE49D
split-complementary
#5C5FE4 #E49D5C #A3E45C
monochromatic
#1C1FAA #272BDB #5C5FE4 #9193ED #C5C6F5
Accessibility & contrast
On white
4.99
#5C5FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#5C5FE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C5FE4
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5FE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5FE4 | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#007F98
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5c5fe4; /* rgb */ color: rgb(92, 95, 228); /* oklch */ color: oklch(55.9% 0.197 276.9);
Tailwind
colors: {
custom: {
50: '#978ced',
500: '#5c5fe4',
950: '#000000',
},
}SCSS
$custom: #5c5fe4; $custom-light: #978ced; $custom-dark: #000000;
JSON
{
"hex": "#5c5fe4",
"rgb": {
"r": 92,
"g": 95,
"b": 228
},
"hsl": {
"h": 238.676,
"s": 71.579,
"l": 62.745
},
"oklch": {
"l": 0.55867,
"c": 0.1973,
"h": 276.9
},
"luminance": 0.16061
}Semantic roles & 50–950 ramp
primary
#5C5FE4
secondary
#E7E5B5
accent
#CF12D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84