#5C5CCC#5C5CCC
#5C5CCC is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.5% C 0.169 H 279.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5CCC |
|---|---|
| RGB | rgb(92, 92, 204) |
| HSL | hsl(240, 52%, 58%) |
| HSV | hsv(240, 55%, 80%) |
| CMYK | cmyk(54.9%, 54.9%, 0%, 20%) |
| CIE-LAB | lab(44.64, 31.66, -58.37) |
| CIE-LCH | lch(44.64, 66.40, 298.47°) |
| OKLab | oklab(53.54% 0.0266 -0.1671) |
| OKLCH | oklch(53.54% 0.169 279) |
| XYZ | xyz(19.1364, 14.2880, 58.8645) |
| Luminance | 0.1429 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.02
Iris
#6258C4
ΔE00 2.20
Slate Blue
#6A5ACD
ΔE00 2.75
Warm Blue
#4B57DB
ΔE00 3.17
Light Indigo
#6D5ACF
ΔE00 3.30
Azul
#1D5DEC
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5CCC #CCCC5C
analogous
#5C94CC #5C5CCC #945CCC
triadic
#5C5CCC #CC5C5C #5CCC5C
tetradic
#5C5CCC #CC5C94 #CCCC5C #5CCC94
square
#5C5CCC #CC5C94 #CCCC5C #5CCC94
split-complementary
#5C5CCC #CC945C #94CC5C
monochromatic
#292984 #3838B3 #5C5CCC #8B8BDB #B9B9E9
Accessibility & contrast
On white
5.44
#5C5CCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#5C5CCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C5CCC
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5CCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5CCC | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#106ED0
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#25768B
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5c5ccc; /* rgb */ color: rgb(92, 92, 204); /* oklch */ color: oklch(53.5% 0.169 279.0);
Tailwind
colors: {
custom: {
50: '#938adc',
500: '#5c5ccc',
950: '#000000',
},
}SCSS
$custom: #5c5ccc; $custom-light: #938adc; $custom-dark: #000000;
JSON
{
"hex": "#5c5ccc",
"rgb": {
"r": 92,
"g": 92,
"b": 204
},
"hsl": {
"h": 240,
"s": 52.336,
"l": 58.039
},
"oklch": {
"l": 0.53544,
"c": 0.16921,
"h": 279
},
"luminance": 0.14289
}Semantic roles & 50–950 ramp
primary
#5C5CCC
secondary
#D8D8AC
accent
#DC4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83