#5D52CD#5D52CD
#5D52CD is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.9% C 0.183 H 281.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #5D52CD |
|---|---|
| RGB | rgb(93, 82, 205) |
| HSL | hsl(245, 55%, 56%) |
| HSV | hsv(245, 60%, 80%) |
| CMYK | cmyk(54.6%, 60%, 0%, 19.6%) |
| CIE-LAB | lab(42.41, 38.24, -62.56) |
| CIE-LCH | lch(42.41, 73.32, 301.44°) |
| OKLab | oklab(51.93% 0.038 -0.1795) |
| OKLCH | oklch(51.93% 0.183 281.9) |
| XYZ | xyz(18.5475, 12.7684, 59.2330) |
| Luminance | 0.1277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.31
Slate Blue
#6A5ACD
ΔE00 3.08
Light Indigo
#6D5ACF
ΔE00 3.47
Warm Blue
#4B57DB
ΔE00 3.65
Dark Periwinkle
#665FD1
ΔE00 4.12
Bluey Purple
#6241C7
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D52CD #C2CD52
analogous
#5285CD #5D52CD #9B52CD
triadic
#5D52CD #CD5D52 #52CD5D
tetradic
#5D52CD #CD5285 #C2CD52 #52CD9B
square
#5D52CD #CD5285 #C2CD52 #52CD9B
split-complementary
#5D52CD #CD9B52 #85CD52
monochromatic
#2D2580 #3E33AF #5D52CD #8981DB #B6B1E8
Accessibility & contrast
On white
5.91
#5D52CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#5D52CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D52CD
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D52CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D52CD | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#296F88
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5d52cd; /* rgb */ color: rgb(93, 82, 205); /* oklch */ color: oklch(51.9% 0.183 281.9);
Tailwind
colors: {
custom: {
50: '#9483dd',
500: '#5d52cd',
950: '#000000',
},
}SCSS
$custom: #5d52cd; $custom-light: #9483dd; $custom-dark: #000000;
JSON
{
"hex": "#5d52cd",
"rgb": {
"r": 93,
"g": 82,
"b": 205
},
"hsl": {
"h": 245.366,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.51935,
"c": 0.18343,
"h": 281.9
},
"luminance": 0.1277
}Semantic roles & 50–950 ramp
primary
#5D52CD
secondary
#D2D7A4
accent
#DE49D1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83