#5B52BB#5B52BB
#5B52BB is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.4% C 0.160 H 282.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5B52BB |
|---|---|
| RGB | rgb(91, 82, 187) |
| HSL | hsl(245, 44%, 53%) |
| HSV | hsv(245, 56%, 73%) |
| CMYK | cmyk(51.3%, 56.1%, 0%, 26.7%) |
| CIE-LAB | lab(40.97, 32.22, -54.45) |
| CIE-LCH | lch(40.97, 63.27, 300.62°) |
| OKLab | oklab(50.42% 0.0357 -0.1557) |
| OKLCH | oklch(50.42% 0.16 282.9) |
| XYZ | xyz(16.2986, 11.8457, 48.4317) |
| Luminance | 0.1185 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.40
Slate Blue
#6A5ACD
ΔE00 4.23
Light Indigo
#6D5ACF
ΔE00 4.73
Ocean Blue
#4F42B5
ΔE00 4.84
Dark Periwinkle
#665FD1
ΔE00 5.27
Bluey Purple
#6241C7
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B52BB #B2BB52
analogous
#527DBB #5B52BB #8F52BB
triadic
#5B52BB #BB5B52 #52BB5B
tetradic
#5B52BB #BB527D #B2BB52 #52BB8F
square
#5B52BB #BB527D #B2BB52 #52BB8F
split-complementary
#5B52BB #BB8F52 #7DBB52
monochromatic
#2F2969 #423B95 #5B52BB #857ECC #AEAADE
Accessibility & contrast
On white
6.23
#5B52BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#5B52BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B52BB
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B52BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B52BB | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A64BF
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#356A7E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5b52bb; /* rgb */ color: rgb(91, 82, 187); /* oklch */ color: oklch(50.4% 0.160 282.9);
Tailwind
colors: {
custom: {
50: '#9183d0',
500: '#5b52bb',
950: '#000000',
},
}SCSS
$custom: #5b52bb; $custom-light: #9183d0; $custom-dark: #000000;
JSON
{
"hex": "#5b52bb",
"rgb": {
"r": 91,
"g": 82,
"b": 187
},
"hsl": {
"h": 245.143,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.50424,
"c": 0.1597,
"h": 282.9
},
"luminance": 0.11847
}Semantic roles & 50–950 ramp
primary
#5B52BB
secondary
#C7CB9E
accent
#D354C8
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0A14
muted
#7E7C82