#5C5FF2#5C5FF2
#5C5FF2 is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 57.0% C 0.215 H 276.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5FF2 |
|---|---|
| RGB | rgb(92, 95, 242) |
| HSL | hsl(239, 85%, 65%) |
| HSV | hsv(239, 62%, 95%) |
| CMYK | cmyk(62%, 60.7%, 0%, 5.1%) |
| CIE-LAB | lab(48.09, 42.06, -74.33) |
| CIE-LCH | lch(48.09, 85.41, 299.50°) |
| OKLab | oklab(56.96% 0.0234 -0.214) |
| OKLCH | oklch(56.96% 0.215 276.2) |
| XYZ | xyz(24.5276, 16.8685, 85.9506) |
| Luminance | 0.1687 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.52
Warm Blue
#4B57DB
ΔE00 4.76
Mediumslateblue
#7B68EE
ΔE00 5.30
Light Indigo
#6D5ACF
ΔE00 5.69
Slate Blue
#6A5ACD
ΔE00 5.72
Royal Blue
#4169E1
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5FF2 #F2EF5C
analogous
#5CAAF2 #5C5FF2 #A45CF2
triadic
#5C5FF2 #F25C5F #5FF25C
tetradic
#5C5FF2 #F25CAA #F2EF5C #5CF2A4
square
#5C5FF2 #F25CAA #F2EF5C #5CF2A4
split-complementary
#5C5FF2 #F2A45C #AAF25C
monochromatic
#1013C4 #2327ED #5C5FF2 #9597F7 #CDCEFB
Accessibility & contrast
On white
4.80
#5C5FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#5C5FF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C5FF2
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5FF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5FF2 | 1.00 | 4.80 | 4.37 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#006CEF
Tritanopia (blue-blind)
#0084A0
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5c5ff2; /* rgb */ color: rgb(92, 95, 242); /* oklch */ color: oklch(57.0% 0.215 276.2);
Tailwind
colors: {
custom: {
50: '#998cf7',
500: '#5c5ff2',
950: '#000000',
},
}SCSS
$custom: #5c5ff2; $custom-light: #998cf7; $custom-dark: #000000;
JSON
{
"hex": "#5c5ff2",
"rgb": {
"r": 92,
"g": 95,
"b": 242
},
"hsl": {
"h": 238.8,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.56962,
"c": 0.2153,
"h": 276.2
},
"luminance": 0.16871
}Semantic roles & 50–950 ramp
primary
#5C5FF2
secondary
#EEEDBC
accent
#DD04E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85