#5B52CE#5B52CE
#5B52CE is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.9% C 0.185 H 281.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #5B52CE |
|---|---|
| RGB | rgb(91, 82, 206) |
| HSL | hsl(244, 56%, 56%) |
| HSV | hsv(244, 60%, 81%) |
| CMYK | cmyk(55.8%, 60.2%, 0%, 19.2%) |
| CIE-LAB | lab(42.33, 38.19, -63.28) |
| CIE-LCH | lch(42.33, 73.90, 301.11°) |
| OKLab | oklab(51.86% 0.0354 -0.1816) |
| OKLCH | oklch(51.86% 0.185 281) |
| XYZ | xyz(18.4688, 12.7138, 59.8614) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.49
Slate Blue
#6A5ACD
ΔE00 3.30
Warm Blue
#4B57DB
ΔE00 3.34
Light Indigo
#6D5ACF
ΔE00 3.70
Dark Periwinkle
#665FD1
ΔE00 4.19
Bluey Purple
#6241C7
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B52CE #C5CE52
analogous
#5287CE #5B52CE #9952CE
triadic
#5B52CE #CE5B52 #52CE5B
tetradic
#5B52CE #CE5287 #C5CE52 #52CE99
square
#5B52CE #CE5287 #C5CE52 #52CE99
split-complementary
#5B52CE #CE9952 #87CE52
monochromatic
#2B2581 #3B32B1 #5B52CE #8882DC #B5B1E9
Accessibility & contrast
On white
5.93
#5B52CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#5B52CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B52CE
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B52CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B52CE | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#207088
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5b52ce; /* rgb */ color: rgb(91, 82, 206); /* oklch */ color: oklch(51.9% 0.185 281.0);
Tailwind
colors: {
custom: {
50: '#9383de',
500: '#5b52ce',
950: '#000000',
},
}SCSS
$custom: #5b52ce; $custom-light: #9383de; $custom-dark: #000000;
JSON
{
"hex": "#5b52ce",
"rgb": {
"r": 91,
"g": 82,
"b": 206
},
"hsl": {
"h": 244.355,
"s": 55.856,
"l": 56.471
},
"oklch": {
"l": 0.51857,
"c": 0.18506,
"h": 281
},
"luminance": 0.12715
}Semantic roles & 50–950 ramp
primary
#5B52CE
secondary
#D4D7A4
accent
#DF49D4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83