#5C5DF2#5C5DF2
#5C5DF2 is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.6% C 0.218 H 276.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5DF2 |
|---|---|
| RGB | rgb(92, 93, 242) |
| HSL | hsl(240, 85%, 65%) |
| HSV | hsv(240, 62%, 95%) |
| CMYK | cmyk(62%, 61.6%, 0%, 5.1%) |
| CIE-LAB | lab(47.64, 43.25, -75.07) |
| CIE-LCH | lch(47.64, 86.64, 299.94°) |
| OKLab | oklab(56.63% 0.0251 -0.2162) |
| OKLCH | oklch(56.63% 0.218 276.6) |
| XYZ | xyz(24.3498, 16.5129, 85.8913) |
| Luminance | 0.1651 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.48
Warm Blue
#4B57DB
ΔE00 4.49
Light Indigo
#6D5ACF
ΔE00 5.46
Slate Blue
#6A5ACD
ΔE00 5.49
Mediumslateblue
#7B68EE
ΔE00 5.57
Electric Blue
#0652FF
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5DF2 #F2F15C
analogous
#5CA8F2 #5C5DF2 #A65CF2
triadic
#5C5DF2 #F25C5D #5DF25C
tetradic
#5C5DF2 #F25CA8 #F2F15C #5CF2A6
square
#5C5DF2 #F25CA8 #F2F15C #5CF2A6
split-complementary
#5C5DF2 #F2A65C #A8F25C
monochromatic
#1011C4 #2325ED #5C5DF2 #9595F7 #CDCEFB
Accessibility & contrast
On white
4.88
#5C5DF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#5C5DF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C5DF2
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5DF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5DF2 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#006BEF
Tritanopia (blue-blind)
#00829F
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5c5df2; /* rgb */ color: rgb(92, 93, 242); /* oklch */ color: oklch(56.6% 0.218 276.6);
Tailwind
colors: {
custom: {
50: '#998bf7',
500: '#5c5df2',
950: '#000000',
},
}SCSS
$custom: #5c5df2; $custom-light: #998bf7; $custom-dark: #000000;
JSON
{
"hex": "#5c5df2",
"rgb": {
"r": 92,
"g": 93,
"b": 242
},
"hsl": {
"h": 239.6,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.56629,
"c": 0.21766,
"h": 276.6
},
"luminance": 0.16515
}Semantic roles & 50–950 ramp
primary
#5C5DF2
secondary
#EEEEBC
accent
#E004E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85