#5C4ABA#5C4ABA
#5C4ABA is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.0% C 0.169 H 285.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #5C4ABA |
|---|---|
| RGB | rgb(92, 74, 186) |
| HSL | hsl(250, 45%, 51%) |
| HSV | hsv(250, 60%, 73%) |
| CMYK | cmyk(50.5%, 60.2%, 0%, 27.1%) |
| CIE-LAB | lab(39.10, 36.97, -56.88) |
| CIE-LCH | lch(39.10, 67.84, 303.02°) |
| OKLab | oklab(49.04% 0.0457 -0.1628) |
| OKLCH | oklch(49.04% 0.169 285.7) |
| XYZ | xyz(15.7227, 10.7173, 47.6850) |
| Luminance | 0.1072 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.95
Bluey Purple
#6241C7
ΔE00 3.21
Blue With A Hint Of Purple
#533CC6
ΔE00 4.14
Iris
#6258C4
ΔE00 4.40
Blurple
#5539CC
ΔE00 4.94
Slate Blue
#6A5ACD
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C4ABA #A8BA4A
analogous
#4A70BA #5C4ABA #944ABA
triadic
#5C4ABA #BA5C4A #4ABA5C
tetradic
#5C4ABA #BA4A70 #A8BA4A #4ABA94
square
#5C4ABA #BA4A70 #A8BA4A #4ABA94
split-complementary
#5C4ABA #BA944A #70BA4A
monochromatic
#302664 #453790 #5C4ABA #8476CB #ACA3DC
Accessibility & contrast
On white
6.68
#5C4ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#5C4ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C4ABA
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C4ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C4ABA | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#39647B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #5c4aba; /* rgb */ color: rgb(92, 74, 186); /* oklch */ color: oklch(49.0% 0.169 285.7);
Tailwind
colors: {
custom: {
50: '#927dcf',
500: '#5c4aba',
950: '#000000',
},
}SCSS
$custom: #5c4aba; $custom-light: #927dcf; $custom-dark: #000000;
JSON
{
"hex": "#5c4aba",
"rgb": {
"r": 92,
"g": 74,
"b": 186
},
"hsl": {
"h": 249.643,
"s": 44.8,
"l": 50.98
},
"oklch": {
"l": 0.49043,
"c": 0.16913,
"h": 285.7
},
"luminance": 0.10718
}Semantic roles & 50–950 ramp
primary
#5C4ABA
secondary
#C1C997
accent
#D553C0
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82