#5C5ACC#5C5ACC
#5C5ACC is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.2% C 0.172 H 279.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5ACC |
|---|---|
| RGB | rgb(92, 90, 204) |
| HSL | hsl(241, 53%, 58%) |
| HSV | hsv(241, 56%, 80%) |
| CMYK | cmyk(54.9%, 55.9%, 0%, 20%) |
| CIE-LAB | lab(44.16, 32.89, -59.16) |
| CIE-LCH | lch(44.16, 67.68, 299.07°) |
| OKLab | oklab(53.18% 0.0287 -0.1694) |
| OKLCH | oklch(53.18% 0.172 279.6) |
| XYZ | xyz(18.9655, 13.9461, 58.8075) |
| Luminance | 0.1395 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.81
Dark Periwinkle
#665FD1
ΔE00 2.30
Slate Blue
#6A5ACD
ΔE00 2.55
Warm Blue
#4B57DB
ΔE00 3.02
Light Indigo
#6D5ACF
ΔE00 3.12
Azul
#1D5DEC
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5ACC #CACC5A
analogous
#5A91CC #5C5ACC #955ACC
triadic
#5C5ACC #CC5C5A #5ACC5C
tetradic
#5C5ACC #CC5A91 #CACC5A #5ACC95
square
#5C5ACC #CC5A91 #CACC5A #5ACC95
split-complementary
#5C5ACC #CC955A #91CC5A
monochromatic
#2A2983 #3937B2 #5C5ACC #8A89DA #B8B7E9
Accessibility & contrast
On white
5.54
#5C5ACC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#5C5ACC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C5ACC
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5ACC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5ACC | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#016DD0
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#25748A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5c5acc; /* rgb */ color: rgb(92, 90, 204); /* oklch */ color: oklch(53.2% 0.172 279.6);
Tailwind
colors: {
custom: {
50: '#9388dc',
500: '#5c5acc',
950: '#000000',
},
}SCSS
$custom: #5c5acc; $custom-light: #9388dc; $custom-dark: #000000;
JSON
{
"hex": "#5c5acc",
"rgb": {
"r": 92,
"g": 90,
"b": 204
},
"hsl": {
"h": 241.053,
"s": 52.778,
"l": 57.647
},
"oklch": {
"l": 0.53181,
"c": 0.17185,
"h": 279.6
},
"luminance": 0.13947
}Semantic roles & 50–950 ramp
primary
#5C5ACC
secondary
#D7D8AA
accent
#DC4CDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83