#5A52CE#5A52CE
#5A52CE is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.8% C 0.185 H 280.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5A52CE |
|---|---|
| RGB | rgb(90, 82, 206) |
| HSL | hsl(244, 56%, 56%) |
| HSV | hsv(244, 60%, 81%) |
| CMYK | cmyk(56.3%, 60.2%, 0%, 19.2%) |
| CIE-LAB | lab(42.25, 38.01, -63.40) |
| CIE-LCH | lch(42.25, 73.92, 300.94°) |
| OKLab | oklab(51.78% 0.0342 -0.182) |
| OKLCH | oklch(51.78% 0.185 280.6) |
| XYZ | xyz(18.3708, 12.6633, 59.8568) |
| Luminance | 0.1266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.56
Warm Blue
#4B57DB
ΔE00 3.23
Slate Blue
#6A5ACD
ΔE00 3.41
Light Indigo
#6D5ACF
ΔE00 3.82
Dark Periwinkle
#665FD1
ΔE00 4.24
Bluey Purple
#6241C7
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A52CE #C6CE52
analogous
#5288CE #5A52CE #9852CE
triadic
#5A52CE #CE5A52 #52CE5A
tetradic
#5A52CE #CE5288 #C6CE52 #52CE98
square
#5A52CE #CE5288 #C6CE52 #52CE98
split-complementary
#5A52CE #CE9852 #88CE52
monochromatic
#2B2581 #3A32B1 #5A52CE #8782DC #B5B1E9
Accessibility & contrast
On white
5.94
#5A52CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#5A52CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A52CE
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A52CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A52CE | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#1C7088
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5a52ce; /* rgb */ color: rgb(90, 82, 206); /* oklch */ color: oklch(51.8% 0.185 280.6);
Tailwind
colors: {
custom: {
50: '#9383de',
500: '#5a52ce',
950: '#000000',
},
}SCSS
$custom: #5a52ce; $custom-light: #9383de; $custom-dark: #000000;
JSON
{
"hex": "#5a52ce",
"rgb": {
"r": 90,
"g": 82,
"b": 206
},
"hsl": {
"h": 243.871,
"s": 55.856,
"l": 56.471
},
"oklch": {
"l": 0.51781,
"c": 0.18522,
"h": 280.6
},
"luminance": 0.12664
}Semantic roles & 50–950 ramp
primary
#5A52CE
secondary
#D4D7A4
accent
#DF49D5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83