#5C5CF0#5C5CF0
#5C5CF0 is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.3% C 0.216 H 276.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5CF0 |
|---|---|
| RGB | rgb(92, 92, 240) |
| HSL | hsl(240, 83%, 65%) |
| HSV | hsv(240, 62%, 94%) |
| CMYK | cmyk(61.7%, 61.7%, 0%, 5.9%) |
| CIE-LAB | lab(47.26, 43.20, -74.57) |
| CIE-LCH | lch(47.26, 86.18, 300.08°) |
| OKLab | oklab(56.3% 0.026 -0.2147) |
| OKLCH | oklch(56.3% 0.216 276.9) |
| XYZ | xyz(23.9639, 16.2190, 84.2889) |
| Luminance | 0.1622 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.17
Dark Periwinkle
#665FD1
ΔE00 4.27
Light Indigo
#6D5ACF
ΔE00 5.18
Slate Blue
#6A5ACD
ΔE00 5.20
Electric Blue
#0652FF
ΔE00 5.74
Mediumslateblue
#7B68EE
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5CF0 #F0F05C
analogous
#5CA6F0 #5C5CF0 #A65CF0
triadic
#5C5CF0 #F05C5C #5CF05C
tetradic
#5C5CF0 #F05CA6 #F0F05C #5CF0A6
square
#5C5CF0 #F05CA6 #F0F05C #5CF0A6
split-complementary
#5C5CF0 #F0A65C #A6F05C
monochromatic
#1212C0 #2424EB #5C5CF0 #9494F5 #CCCCFA
Accessibility & contrast
On white
4.95
#5C5CF0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#5C5CF0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C5CF0
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5CF0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5CF0 | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077F5
Deuteranopia (green-blind)
#006AED
Tritanopia (blue-blind)
#00819D
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5c5cf0; /* rgb */ color: rgb(92, 92, 240); /* oklch */ color: oklch(56.3% 0.216 276.9);
Tailwind
colors: {
custom: {
50: '#998af6',
500: '#5c5cf0',
950: '#000000',
},
}SCSS
$custom: #5c5cf0; $custom-light: #998af6; $custom-dark: #000000;
JSON
{
"hex": "#5c5cf0",
"rgb": {
"r": 92,
"g": 92,
"b": 240
},
"hsl": {
"h": 240,
"s": 83.146,
"l": 65.098
},
"oklch": {
"l": 0.56302,
"c": 0.21631,
"h": 276.9
},
"luminance": 0.16221
}Semantic roles & 50–950 ramp
primary
#5C5CF0
secondary
#EDEDBB
accent
#E006E0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85