#5C5FF0#5C5FF0
#5C5FF0 is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.8% C 0.213 H 276.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5FF0 |
|---|---|
| RGB | rgb(92, 95, 240) |
| HSL | hsl(239, 83%, 65%) |
| HSV | hsv(239, 62%, 94%) |
| CMYK | cmyk(61.7%, 60.4%, 0%, 5.9%) |
| CIE-LAB | lab(47.94, 41.42, -73.46) |
| CIE-LCH | lch(47.94, 84.33, 299.42°) |
| OKLab | oklab(56.8% 0.0235 -0.2115) |
| OKLCH | oklch(56.8% 0.213 276.3) |
| XYZ | xyz(24.2289, 16.7491, 84.3773) |
| Luminance | 0.1675 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.30
Warm Blue
#4B57DB
ΔE00 4.57
Mediumslateblue
#7B68EE
ΔE00 5.36
Light Indigo
#6D5ACF
ΔE00 5.50
Slate Blue
#6A5ACD
ΔE00 5.51
Royal Blue
#4169E1
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5FF0 #F0ED5C
analogous
#5CA9F0 #5C5FF0 #A35CF0
triadic
#5C5FF0 #F05C5F #5FF05C
tetradic
#5C5FF0 #F05CA9 #F0ED5C #5CF0A3
square
#5C5FF0 #F05CA9 #F0ED5C #5CF0A3
split-complementary
#5C5FF0 #F0A35C #A9F05C
monochromatic
#1215C0 #2428EB #5C5FF0 #9496F5 #CCCDFA
Accessibility & contrast
On white
4.83
#5C5FF0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#5C5FF0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C5FF0
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5FF0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5FF0 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F5
Deuteranopia (green-blind)
#006BED
Tritanopia (blue-blind)
#00839F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5c5ff0; /* rgb */ color: rgb(92, 95, 240); /* oklch */ color: oklch(56.8% 0.213 276.3);
Tailwind
colors: {
custom: {
50: '#998cf6',
500: '#5c5ff0',
950: '#000000',
},
}SCSS
$custom: #5c5ff0; $custom-light: #998cf6; $custom-dark: #000000;
JSON
{
"hex": "#5c5ff0",
"rgb": {
"r": 92,
"g": 95,
"b": 240
},
"hsl": {
"h": 238.784,
"s": 83.146,
"l": 65.098
},
"oklch": {
"l": 0.56803,
"c": 0.21276,
"h": 276.3
},
"luminance": 0.16751
}Semantic roles & 50–950 ramp
primary
#5C5FF0
secondary
#EDECBB
accent
#DB06E0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85