#5B52CF#5B52CF
#5B52CF is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.9% C 0.186 H 280.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #5B52CF |
|---|---|
| RGB | rgb(91, 82, 207) |
| HSL | hsl(244, 57%, 57%) |
| HSV | hsv(244, 60%, 81%) |
| CMYK | cmyk(56%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(42.40, 38.50, -63.73) |
| CIE-LCH | lch(42.40, 74.46, 301.14°) |
| OKLab | oklab(51.93% 0.0354 -0.183) |
| OKLCH | oklch(51.93% 0.186 280.9) |
| XYZ | xyz(18.5907, 12.7625, 60.5032) |
| Luminance | 0.1276 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.57
Warm Blue
#4B57DB
ΔE00 3.27
Slate Blue
#6A5ACD
ΔE00 3.30
Light Indigo
#6D5ACF
ΔE00 3.69
Dark Periwinkle
#665FD1
ΔE00 4.17
Bluey Purple
#6241C7
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B52CF #C6CF52
analogous
#5288CF #5B52CF #9A52CF
triadic
#5B52CF #CF5B52 #52CF5B
tetradic
#5B52CF #CF5288 #C6CF52 #52CF9A
square
#5B52CF #CF5288 #C6CF52 #52CF9A
split-complementary
#5B52CF #CF9A52 #88CF52
monochromatic
#2B2482 #3B31B2 #5B52CF #8882DC #B6B2EA
Accessibility & contrast
On white
5.91
#5B52CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#5B52CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B52CF
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B52CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B52CF | 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)
#0069D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#1E7089
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5b52cf; /* rgb */ color: rgb(91, 82, 207); /* oklch */ color: oklch(51.9% 0.186 280.9);
Tailwind
colors: {
custom: {
50: '#9483df',
500: '#5b52cf',
950: '#000000',
},
}SCSS
$custom: #5b52cf; $custom-light: #9483df; $custom-dark: #000000;
JSON
{
"hex": "#5b52cf",
"rgb": {
"r": 91,
"g": 82,
"b": 207
},
"hsl": {
"h": 244.32,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.51935,
"c": 0.18636,
"h": 280.9
},
"luminance": 0.12764
}Semantic roles & 50–950 ramp
primary
#5B52CF
secondary
#D4D8A5
accent
#E048D5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83