#5B52CD#5B52CD
#5B52CD is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.8% C 0.184 H 281.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5B52CD |
|---|---|
| RGB | rgb(91, 82, 205) |
| HSL | hsl(244, 55%, 56%) |
| HSV | hsv(244, 60%, 80%) |
| CMYK | cmyk(55.6%, 60%, 0%, 19.6%) |
| CIE-LAB | lab(42.25, 37.87, -62.82) |
| CIE-LCH | lch(42.25, 73.35, 301.08°) |
| OKLab | oklab(51.78% 0.0355 -0.1803) |
| OKLCH | oklch(51.78% 0.184 281.1) |
| XYZ | xyz(18.3477, 12.6653, 59.2236) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.42
Slate Blue
#6A5ACD
ΔE00 3.30
Warm Blue
#4B57DB
ΔE00 3.41
Light Indigo
#6D5ACF
ΔE00 3.71
Dark Periwinkle
#665FD1
ΔE00 4.21
Bluey Purple
#6241C7
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B52CD #C4CD52
analogous
#5287CD #5B52CD #9952CD
triadic
#5B52CD #CD5B52 #52CD5B
tetradic
#5B52CD #CD5287 #C4CD52 #52CD99
square
#5B52CD #CD5287 #C4CD52 #52CD99
split-complementary
#5B52CD #CD9952 #87CD52
monochromatic
#2C2580 #3C33AF #5B52CD #8881DB #B5B1E8
Accessibility & contrast
On white
5.94
#5B52CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#5B52CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B52CD
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B52CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B52CD | 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)
#0068D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#226F88
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5b52cd; /* rgb */ color: rgb(91, 82, 205); /* oklch */ color: oklch(51.8% 0.184 281.1);
Tailwind
colors: {
custom: {
50: '#9383dd',
500: '#5b52cd',
950: '#000000',
},
}SCSS
$custom: #5b52cd; $custom-light: #9383dd; $custom-dark: #000000;
JSON
{
"hex": "#5b52cd",
"rgb": {
"r": 91,
"g": 82,
"b": 205
},
"hsl": {
"h": 244.39,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.5178,
"c": 0.18375,
"h": 281.1
},
"luminance": 0.12667
}Semantic roles & 50–950 ramp
primary
#5B52CD
secondary
#D3D7A4
accent
#DE49D4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83