#5C5FF1#5C5FF1
#5C5FF1 is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.9% C 0.214 H 276.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5FF1 |
|---|---|
| RGB | rgb(92, 95, 241) |
| HSL | hsl(239, 84%, 65%) |
| HSV | hsv(239, 62%, 95%) |
| CMYK | cmyk(61.8%, 60.6%, 0%, 5.5%) |
| CIE-LAB | lab(48.02, 41.74, -73.90) |
| CIE-LCH | lch(48.02, 84.87, 299.46°) |
| OKLab | oklab(56.88% 0.0235 -0.2127) |
| OKLCH | oklch(56.88% 0.214 276.3) |
| XYZ | xyz(24.3779, 16.8086, 85.1618) |
| Luminance | 0.1681 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.41
Warm Blue
#4B57DB
ΔE00 4.66
Mediumslateblue
#7B68EE
ΔE00 5.33
Light Indigo
#6D5ACF
ΔE00 5.60
Slate Blue
#6A5ACD
ΔE00 5.61
Royal Blue
#4169E1
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5FF1 #F1EE5C
analogous
#5CA9F1 #5C5FF1 #A35CF1
triadic
#5C5FF1 #F15C5F #5FF15C
tetradic
#5C5FF1 #F15CA9 #F1EE5C #5CF1A3
square
#5C5FF1 #F15CA9 #F1EE5C #5CF1A3
split-complementary
#5C5FF1 #F1A35C #A9F15C
monochromatic
#1114C2 #2428EC #5C5FF1 #9496F6 #CDCEFB
Accessibility & contrast
On white
4.81
#5C5FF1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#5C5FF1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C5FF1
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5FF1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5FF1 | 1.00 | 4.81 | 4.36 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F6
Deuteranopia (green-blind)
#006CEE
Tritanopia (blue-blind)
#00839F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5c5ff1; /* rgb */ color: rgb(92, 95, 241); /* oklch */ color: oklch(56.9% 0.214 276.3);
Tailwind
colors: {
custom: {
50: '#998cf7',
500: '#5c5ff1',
950: '#000000',
},
}SCSS
$custom: #5c5ff1; $custom-light: #998cf7; $custom-dark: #000000;
JSON
{
"hex": "#5c5ff1",
"rgb": {
"r": 92,
"g": 95,
"b": 241
},
"hsl": {
"h": 238.792,
"s": 84.181,
"l": 65.294
},
"oklch": {
"l": 0.56882,
"c": 0.21403,
"h": 276.3
},
"luminance": 0.16811
}Semantic roles & 50–950 ramp
primary
#5C5FF1
secondary
#EEECBB
accent
#DC05E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85