#5C5EF1#5C5EF1
#5C5EF1 is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.7% C 0.215 H 276.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5EF1 |
|---|---|
| RGB | rgb(92, 94, 241) |
| HSL | hsl(239, 84%, 65%) |
| HSV | hsv(239, 62%, 95%) |
| CMYK | cmyk(61.8%, 61%, 0%, 5.5%) |
| CIE-LAB | lab(47.79, 42.33, -74.27) |
| CIE-LCH | lch(47.79, 85.49, 299.68°) |
| OKLab | oklab(56.72% 0.0243 -0.2138) |
| OKLCH | oklch(56.72% 0.215 276.5) |
| XYZ | xyz(24.2884, 16.6296, 85.1319) |
| Luminance | 0.1663 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.38
Warm Blue
#4B57DB
ΔE00 4.52
Mediumslateblue
#7B68EE
ΔE00 5.46
Light Indigo
#6D5ACF
ΔE00 5.47
Slate Blue
#6A5ACD
ΔE00 5.49
Electric Blue
#0652FF
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5EF1 #F1EF5C
analogous
#5CA8F1 #5C5EF1 #A55CF1
triadic
#5C5EF1 #F15C5E #5EF15C
tetradic
#5C5EF1 #F15CA8 #F1EF5C #5CF1A5
square
#5C5EF1 #F15CA8 #F1EF5C #5CF1A5
split-complementary
#5C5EF1 #F1A55C #A8F15C
monochromatic
#1113C2 #2426EC #5C5EF1 #9496F6 #CDCDFB
Accessibility & contrast
On white
4.85
#5C5EF1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#5C5EF1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C5EF1
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5EF1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5EF1 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F6
Deuteranopia (green-blind)
#006BEE
Tritanopia (blue-blind)
#00839F
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5c5ef1; /* rgb */ color: rgb(92, 94, 241); /* oklch */ color: oklch(56.7% 0.215 276.5);
Tailwind
colors: {
custom: {
50: '#998cf7',
500: '#5c5ef1',
950: '#000000',
},
}SCSS
$custom: #5c5ef1; $custom-light: #998cf7; $custom-dark: #000000;
JSON
{
"hex": "#5c5ef1",
"rgb": {
"r": 92,
"g": 94,
"b": 241
},
"hsl": {
"h": 239.195,
"s": 84.181,
"l": 65.294
},
"oklch": {
"l": 0.56715,
"c": 0.21521,
"h": 276.5
},
"luminance": 0.16632
}Semantic roles & 50–950 ramp
primary
#5C5EF1
secondary
#EEEDBB
accent
#DE05E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85