#5C5FEE#5C5FEE
#5C5FEE is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.6% C 0.210 H 276.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5FEE |
|---|---|
| RGB | rgb(92, 95, 238) |
| HSL | hsl(239, 81%, 65%) |
| HSV | hsv(239, 61%, 93%) |
| CMYK | cmyk(61.3%, 60.1%, 0%, 6.7%) |
| CIE-LAB | lab(47.79, 40.77, -72.58) |
| CIE-LCH | lch(47.79, 83.25, 299.33°) |
| OKLab | oklab(56.65% 0.0236 -0.2089) |
| OKLCH | oklch(56.65% 0.21 276.4) |
| XYZ | xyz(23.9334, 16.6309, 82.8212) |
| Luminance | 0.1663 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.07
Warm Blue
#4B57DB
ΔE00 4.37
Slate Blue
#6A5ACD
ΔE00 5.31
Light Indigo
#6D5ACF
ΔE00 5.32
Mediumslateblue
#7B68EE
ΔE00 5.42
Royal Blue
#4169E1
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5FEE #EEEB5C
analogous
#5CA8EE #5C5FEE #A25CEE
triadic
#5C5FEE #EE5C5F #5FEE5C
tetradic
#5C5FEE #EE5CA8 #EEEB5C #5CEEA2
square
#5C5FEE #EE5CA8 #EEEB5C #5CEEA2
split-complementary
#5C5FEE #EEA25C #A8EE5C
monochromatic
#1417BC #2529E8 #5C5FEE #9395F4 #CBCCFA
Accessibility & contrast
On white
4.85
#5C5FEE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#5C5FEE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C5FEE
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5FEE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5FEE | 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)
#0078F3
Deuteranopia (green-blind)
#006BEB
Tritanopia (blue-blind)
#00829D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5c5fee; /* rgb */ color: rgb(92, 95, 238); /* oklch */ color: oklch(56.6% 0.210 276.4);
Tailwind
colors: {
custom: {
50: '#988cf5',
500: '#5c5fee',
950: '#000000',
},
}SCSS
$custom: #5c5fee; $custom-light: #988cf5; $custom-dark: #000000;
JSON
{
"hex": "#5c5fee",
"rgb": {
"r": 92,
"g": 95,
"b": 238
},
"hsl": {
"h": 238.767,
"s": 81.111,
"l": 64.706
},
"oklch": {
"l": 0.56645,
"c": 0.21021,
"h": 276.4
},
"luminance": 0.16633
}Semantic roles & 50–950 ramp
primary
#5C5FEE
secondary
#ECEBBA
accent
#D908DD
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85