#5A4FC0#5A4FC0
#5A4FC0 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.2% C 0.171 H 282.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4FC0 |
|---|---|
| RGB | rgb(90, 79, 192) |
| HSL | hsl(246, 47%, 53%) |
| HSV | hsv(246, 59%, 75%) |
| CMYK | cmyk(53.1%, 58.9%, 0%, 24.7%) |
| CIE-LAB | lab(40.52, 35.42, -58.09) |
| CIE-LCH | lch(40.52, 68.03, 301.37°) |
| OKLab | oklab(50.19% 0.0377 -0.1664) |
| OKLCH | oklch(50.19% 0.171 282.8) |
| XYZ | xyz(16.5240, 11.5704, 51.2216) |
| Luminance | 0.1157 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.92
Ocean Blue
#4F42B5
ΔE00 4.16
Bluey Purple
#6241C7
ΔE00 4.28
Slate Blue
#6A5ACD
ΔE00 4.44
Light Indigo
#6D5ACF
ΔE00 4.88
Warm Blue
#4B57DB
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4FC0 #B5C04F
analogous
#4F7CC0 #5A4FC0 #924FC0
triadic
#5A4FC0 #C05A4F #4FC05A
tetradic
#5A4FC0 #C04F7C #B5C04F #4FC092
square
#5A4FC0 #C04F7C #B5C04F #4FC092
split-complementary
#5A4FC0 #C0924F #7CC04F
monochromatic
#2E276D #41379A #5A4FC0 #847CD0 #AFA9E0
Accessibility & contrast
On white
6.34
#5A4FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#5A4FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4FC0
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4FC0 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#2F6980
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5a4fc0; /* rgb */ color: rgb(90, 79, 192); /* oklch */ color: oklch(50.2% 0.171 282.8);
Tailwind
colors: {
custom: {
50: '#9181d4',
500: '#5a4fc0',
950: '#000000',
},
}SCSS
$custom: #5a4fc0; $custom-light: #9181d4; $custom-dark: #000000;
JSON
{
"hex": "#5a4fc0",
"rgb": {
"r": 90,
"g": 79,
"b": 192
},
"hsl": {
"h": 245.841,
"s": 47.28,
"l": 53.137
},
"oklch": {
"l": 0.50187,
"c": 0.17063,
"h": 282.8
},
"luminance": 0.11571
}Semantic roles & 50–950 ramp
primary
#5A4FC0
secondary
#C9CE9D
accent
#D751CA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83