#5C5CF1#5C5CF1
#5C5CF1 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.4% C 0.218 H 276.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5CF1 |
|---|---|
| RGB | rgb(92, 92, 241) |
| HSL | hsl(240, 84%, 65%) |
| HSV | hsv(240, 62%, 95%) |
| CMYK | cmyk(61.8%, 61.8%, 0%, 5.5%) |
| CIE-LAB | lab(47.34, 43.52, -75.00) |
| CIE-LCH | lch(47.34, 86.71, 300.12°) |
| OKLab | oklab(56.38% 0.0259 -0.216) |
| OKLCH | oklch(56.38% 0.218 276.8) |
| XYZ | xyz(24.1128, 16.2785, 85.0734) |
| Luminance | 0.1628 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.27
Dark Periwinkle
#665FD1
ΔE00 4.38
Light Indigo
#6D5ACF
ΔE00 5.28
Slate Blue
#6A5ACD
ΔE00 5.30
Electric Blue
#0652FF
ΔE00 5.75
Mediumslateblue
#7B68EE
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5CF1 #F1F15C
analogous
#5CA6F1 #5C5CF1 #A65CF1
triadic
#5C5CF1 #F15C5C #5CF15C
tetradic
#5C5CF1 #F15CA6 #F1F15C #5CF1A6
square
#5C5CF1 #F15CA6 #F1F15C #5CF1A6
split-complementary
#5C5CF1 #F1A65C #A6F15C
monochromatic
#1111C2 #2424EC #5C5CF1 #9494F6 #CDCDFB
Accessibility & contrast
On white
4.93
#5C5CF1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#5C5CF1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C5CF1
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5CF1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5CF1 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077F6
Deuteranopia (green-blind)
#006AEE
Tritanopia (blue-blind)
#00819E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5c5cf1; /* rgb */ color: rgb(92, 92, 241); /* oklch */ color: oklch(56.4% 0.218 276.8);
Tailwind
colors: {
custom: {
50: '#998af7',
500: '#5c5cf1',
950: '#000000',
},
}SCSS
$custom: #5c5cf1; $custom-light: #998af7; $custom-dark: #000000;
JSON
{
"hex": "#5c5cf1",
"rgb": {
"r": 92,
"g": 92,
"b": 241
},
"hsl": {
"h": 240,
"s": 84.181,
"l": 65.294
},
"oklch": {
"l": 0.56383,
"c": 0.21756,
"h": 276.8
},
"luminance": 0.1628
}Semantic roles & 50–950 ramp
primary
#5C5CF1
secondary
#EEEEBB
accent
#E105E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85