#5C5FEF#5C5FEF
#5C5FEF is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.7% C 0.211 H 276.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5FEF |
|---|---|
| RGB | rgb(92, 95, 239) |
| HSL | hsl(239, 82%, 65%) |
| HSV | hsv(239, 62%, 94%) |
| CMYK | cmyk(61.5%, 60.3%, 0%, 6.3%) |
| CIE-LAB | lab(47.87, 41.10, -73.02) |
| CIE-LCH | lch(47.87, 83.79, 299.37°) |
| OKLab | oklab(56.72% 0.0235 -0.2102) |
| OKLCH | oklch(56.72% 0.211 276.4) |
| XYZ | xyz(24.0808, 16.6898, 83.5971) |
| Luminance | 0.1669 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.19
Warm Blue
#4B57DB
ΔE00 4.47
Mediumslateblue
#7B68EE
ΔE00 5.39
Slate Blue
#6A5ACD
ΔE00 5.41
Light Indigo
#6D5ACF
ΔE00 5.41
Royal Blue
#4169E1
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5FEF #EFEC5C
analogous
#5CA8EF #5C5FEF #A35CEF
triadic
#5C5FEF #EF5C5F #5FEF5C
tetradic
#5C5FEF #EF5CA8 #EFEC5C #5CEFA3
square
#5C5FEF #EF5CA8 #EFEC5C #5CEFA3
split-complementary
#5C5FEF #EFA35C #A8EF5C
monochromatic
#1316BE #2428EA #5C5FEF #9496F4 #CBCCFA
Accessibility & contrast
On white
4.84
#5C5FEF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#5C5FEF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C5FEF
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5FEF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5FEF | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#006BEC
Tritanopia (blue-blind)
#00839E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5c5fef; /* rgb */ color: rgb(92, 95, 239); /* oklch */ color: oklch(56.7% 0.211 276.4);
Tailwind
colors: {
custom: {
50: '#988cf5',
500: '#5c5fef',
950: '#000000',
},
}SCSS
$custom: #5c5fef; $custom-light: #988cf5; $custom-dark: #000000;
JSON
{
"hex": "#5c5fef",
"rgb": {
"r": 92,
"g": 95,
"b": 239
},
"hsl": {
"h": 238.776,
"s": 82.123,
"l": 64.902
},
"oklch": {
"l": 0.56724,
"c": 0.21148,
"h": 276.4
},
"luminance": 0.16692
}Semantic roles & 50–950 ramp
primary
#5C5FEF
secondary
#ECEBBA
accent
#DA07DF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85