#5C5FEC#5C5FEC
#5C5FEC is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.5% C 0.208 H 276.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5FEC |
|---|---|
| RGB | rgb(92, 95, 236) |
| HSL | hsl(239, 79%, 64%) |
| HSV | hsv(239, 61%, 93%) |
| CMYK | cmyk(61%, 59.7%, 0%, 7.5%) |
| CIE-LAB | lab(47.64, 40.13, -71.70) |
| CIE-LCH | lch(47.64, 82.17, 299.23°) |
| OKLab | oklab(56.49% 0.0236 -0.2063) |
| OKLCH | oklch(56.49% 0.208 276.5) |
| XYZ | xyz(23.6413, 16.5140, 81.2823) |
| Luminance | 0.1652 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.85
Warm Blue
#4B57DB
ΔE00 4.19
Slate Blue
#6A5ACD
ΔE00 5.11
Light Indigo
#6D5ACF
ΔE00 5.14
Mediumslateblue
#7B68EE
ΔE00 5.50
Royal Blue
#4169E1
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5FEC #ECE95C
analogous
#5CA7EC #5C5FEC #A15CEC
triadic
#5C5FEC #EC5C5F #5FEC5C
tetradic
#5C5FEC #EC5CA7 #ECE95C #5CECA1
square
#5C5FEC #EC5CA7 #ECE95C #5CECA1
split-complementary
#5C5FEC #ECA15C #A7EC5C
monochromatic
#1519B8 #2529E6 #5C5FEC #9395F2 #CACBF9
Accessibility & contrast
On white
4.88
#5C5FEC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#5C5FEC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C5FEC
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5FEC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5FEC | 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)
#0077F1
Deuteranopia (green-blind)
#006BE9
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5c5fec; /* rgb */ color: rgb(92, 95, 236); /* oklch */ color: oklch(56.5% 0.208 276.5);
Tailwind
colors: {
custom: {
50: '#988cf3',
500: '#5c5fec',
950: '#000000',
},
}SCSS
$custom: #5c5fec; $custom-light: #988cf3; $custom-dark: #000000;
JSON
{
"hex": "#5c5fec",
"rgb": {
"r": 92,
"g": 95,
"b": 236
},
"hsl": {
"h": 238.75,
"s": 79.121,
"l": 64.314
},
"oklch": {
"l": 0.56488,
"c": 0.20765,
"h": 276.5
},
"luminance": 0.16516
}Semantic roles & 50–950 ramp
primary
#5C5FEC
secondary
#EBEAB9
accent
#D70ADB
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85