#5A4FCC#5A4FCC
#5A4FCC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.1% C 0.186 H 281.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4FCC |
|---|---|
| RGB | rgb(90, 79, 204) |
| HSL | hsl(245, 55%, 55%) |
| HSV | hsv(245, 61%, 80%) |
| CMYK | cmyk(55.9%, 61.3%, 0%, 20%) |
| CIE-LAB | lab(41.41, 39.17, -63.61) |
| CIE-LCH | lch(41.41, 74.71, 301.63°) |
| OKLab | oklab(51.12% 0.0372 -0.1827) |
| OKLCH | oklch(51.12% 0.186 281.5) |
| XYZ | xyz(17.9081, 12.1241, 58.5116) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.07
Warm Blue
#4B57DB
ΔE00 3.95
Slate Blue
#6A5ACD
ΔE00 3.99
Bluey Purple
#6241C7
ΔE00 4.19
Light Indigo
#6D5ACF
ΔE00 4.36
Ocean Blue
#4F42B5
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4FCC #C1CC4F
analogous
#4F82CC #5A4FCC #984FCC
triadic
#5A4FCC #CC5A4F #4FCC5A
tetradic
#5A4FCC #CC4F82 #C1CC4F #4FCC98
square
#5A4FCC #CC4F82 #C1CC4F #4FCC98
split-complementary
#5A4FCC #CC984F #82CC4F
monochromatic
#2C247D #3D32AC #5A4FCC #867EDA #B3AEE7
Accessibility & contrast
On white
6.13
#5A4FCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#5A4FCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4FCC
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4FCC | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#206D86
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5a4fcc; /* rgb */ color: rgb(90, 79, 204); /* oklch */ color: oklch(51.1% 0.186 281.5);
Tailwind
colors: {
custom: {
50: '#9381dc',
500: '#5a4fcc',
950: '#000000',
},
}SCSS
$custom: #5a4fcc; $custom-light: #9381dc; $custom-dark: #000000;
JSON
{
"hex": "#5a4fcc",
"rgb": {
"r": 90,
"g": 79,
"b": 204
},
"hsl": {
"h": 245.28,
"s": 55.066,
"l": 55.49
},
"oklch": {
"l": 0.51118,
"c": 0.18642,
"h": 281.5
},
"luminance": 0.12125
}Semantic roles & 50–950 ramp
primary
#5A4FCC
secondary
#D1D5A1
accent
#DE49D1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83