#5B52BE#5B52BE
#5B52BE is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.6% C 0.164 H 282.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #5B52BE |
|---|---|
| RGB | rgb(91, 82, 190) |
| HSL | hsl(245, 45%, 53%) |
| HSV | hsv(245, 57%, 75%) |
| CMYK | cmyk(52.1%, 56.8%, 0%, 25.5%) |
| CIE-LAB | lab(41.18, 33.16, -55.86) |
| CIE-LCH | lch(41.18, 64.97, 300.69°) |
| OKLab | oklab(50.64% 0.0357 -0.1598) |
| OKLCH | oklch(50.64% 0.164 282.6) |
| XYZ | xyz(16.6231, 11.9755, 50.1408) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.21
Slate Blue
#6A5ACD
ΔE00 3.97
Light Indigo
#6D5ACF
ΔE00 4.47
Ocean Blue
#4F42B5
ΔE00 4.91
Warm Blue
#4B57DB
ΔE00 4.94
Dark Periwinkle
#665FD1
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B52BE #B5BE52
analogous
#527FBE #5B52BE #9152BE
triadic
#5B52BE #BE5B52 #52BE5B
tetradic
#5B52BE #BE527F #B5BE52 #52BE91
square
#5B52BE #BE527F #B5BE52 #52BE91
split-complementary
#5B52BE #BE9152 #7FBE52
monochromatic
#2F296D #423A99 #5B52BE #857ECF #AFABDF
Accessibility & contrast
On white
6.19
#5B52BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#5B52BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B52BE
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B52BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B52BE | 1.00 | 6.19 | 3.40 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#336B80
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5b52be; /* rgb */ color: rgb(91, 82, 190); /* oklch */ color: oklch(50.6% 0.164 282.6);
Tailwind
colors: {
custom: {
50: '#9183d2',
500: '#5b52be',
950: '#000000',
},
}SCSS
$custom: #5b52be; $custom-light: #9183d2; $custom-dark: #000000;
JSON
{
"hex": "#5b52be",
"rgb": {
"r": 91,
"g": 82,
"b": 190
},
"hsl": {
"h": 245,
"s": 45.378,
"l": 53.333
},
"oklch": {
"l": 0.50644,
"c": 0.16378,
"h": 282.6
},
"luminance": 0.11976
}Semantic roles & 50–950 ramp
primary
#5B52BE
secondary
#C9CD9F
accent
#D553CA
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0A14
muted
#7E7C83