#5C52BB#5C52BB
#5C52BB is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.5% C 0.160 H 283.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5C52BB |
|---|---|
| RGB | rgb(92, 82, 187) |
| HSL | hsl(246, 44%, 53%) |
| HSV | hsv(246, 56%, 73%) |
| CMYK | cmyk(50.8%, 56.1%, 0%, 26.7%) |
| CIE-LAB | lab(41.05, 32.43, -54.31) |
| CIE-LCH | lch(41.05, 63.26, 300.85°) |
| OKLab | oklab(50.51% 0.037 -0.1552) |
| OKLCH | oklch(50.51% 0.16 283.4) |
| XYZ | xyz(16.3979, 11.8969, 48.4364) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.35
Slate Blue
#6A5ACD
ΔE00 4.14
Light Indigo
#6D5ACF
ΔE00 4.63
Ocean Blue
#4F42B5
ΔE00 4.88
Bluey Purple
#6241C7
ΔE00 5.24
Dark Periwinkle
#665FD1
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C52BB #B1BB52
analogous
#527DBB #5C52BB #9052BB
triadic
#5C52BB #BB5C52 #52BB5C
tetradic
#5C52BB #BB527D #B1BB52 #52BB90
square
#5C52BB #BB527D #B1BB52 #52BB90
split-complementary
#5C52BB #BB9052 #7DBB52
monochromatic
#2F2969 #433B95 #5C52BB #857ECC #AFAADE
Accessibility & contrast
On white
6.21
#5C52BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#5C52BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C52BB
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C52BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C52BB | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B64BF
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#386A7E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5c52bb; /* rgb */ color: rgb(92, 82, 187); /* oklch */ color: oklch(50.5% 0.160 283.4);
Tailwind
colors: {
custom: {
50: '#9183d0',
500: '#5c52bb',
950: '#000000',
},
}SCSS
$custom: #5c52bb; $custom-light: #9183d0; $custom-dark: #000000;
JSON
{
"hex": "#5c52bb",
"rgb": {
"r": 92,
"g": 82,
"b": 187
},
"hsl": {
"h": 245.714,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.50505,
"c": 0.15957,
"h": 283.4
},
"luminance": 0.11898
}Semantic roles & 50–950 ramp
primary
#5C52BB
secondary
#C7CB9E
accent
#D354C7
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0A14
muted
#7E7C82