#5A52CD#5A52CD
#5A52CD is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.7% C 0.184 H 280.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5A52CD |
|---|---|
| RGB | rgb(90, 82, 205) |
| HSL | hsl(244, 55%, 56%) |
| HSV | hsv(244, 60%, 80%) |
| CMYK | cmyk(56.1%, 60%, 0%, 19.6%) |
| CIE-LAB | lab(42.18, 37.69, -62.95) |
| CIE-LCH | lch(42.18, 73.37, 300.91°) |
| OKLab | oklab(51.7% 0.0342 -0.1807) |
| OKLCH | oklch(51.7% 0.184 280.7) |
| XYZ | xyz(18.2497, 12.6148, 59.2190) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.49
Warm Blue
#4B57DB
ΔE00 3.30
Slate Blue
#6A5ACD
ΔE00 3.42
Light Indigo
#6D5ACF
ΔE00 3.84
Dark Periwinkle
#665FD1
ΔE00 4.26
Bluey Purple
#6241C7
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A52CD #C5CD52
analogous
#5288CD #5A52CD #9852CD
triadic
#5A52CD #CD5A52 #52CD5A
tetradic
#5A52CD #CD5288 #C5CD52 #52CD98
square
#5A52CD #CD5288 #C5CD52 #52CD98
split-complementary
#5A52CD #CD9852 #88CD52
monochromatic
#2B2580 #3B33AF #5A52CD #8781DB #B5B1E8
Accessibility & contrast
On white
5.96
#5A52CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#5A52CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A52CD
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A52CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A52CD | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#1E7088
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5a52cd; /* rgb */ color: rgb(90, 82, 205); /* oklch */ color: oklch(51.7% 0.184 280.7);
Tailwind
colors: {
custom: {
50: '#9383dd',
500: '#5a52cd',
950: '#000000',
},
}SCSS
$custom: #5a52cd; $custom-light: #9383dd; $custom-dark: #000000;
JSON
{
"hex": "#5a52cd",
"rgb": {
"r": 90,
"g": 82,
"b": 205
},
"hsl": {
"h": 243.902,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.51703,
"c": 0.18392,
"h": 280.7
},
"luminance": 0.12616
}Semantic roles & 50–950 ramp
primary
#5A52CD
secondary
#D3D7A4
accent
#DE49D5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83