#5C52BF#5C52BF
#5C52BF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.8% C 0.165 H 283.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5C52BF |
|---|---|
| RGB | rgb(92, 82, 191) |
| HSL | hsl(246, 46%, 54%) |
| HSV | hsv(246, 57%, 75%) |
| CMYK | cmyk(51.8%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(41.33, 33.68, -56.20) |
| CIE-LCH | lch(41.33, 65.52, 300.93°) |
| OKLab | oklab(50.8% 0.037 -0.1608) |
| OKLCH | oklch(50.8% 0.165 283) |
| XYZ | xyz(16.8320, 12.0706, 50.7230) |
| Luminance | 0.1207 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.09
Slate Blue
#6A5ACD
ΔE00 3.80
Light Indigo
#6D5ACF
ΔE00 4.29
Dark Periwinkle
#665FD1
ΔE00 4.90
Warm Blue
#4B57DB
ΔE00 4.91
Ocean Blue
#4F42B5
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C52BF #B5BF52
analogous
#527EBF #5C52BF #9252BF
triadic
#5C52BF #BF5C52 #52BF5C
tetradic
#5C52BF #BF527E #B5BF52 #52BF92
square
#5C52BF #BF527E #B5BF52 #52BF92
split-complementary
#5C52BF #BF9252 #7EBF52
monochromatic
#2F296E #42399B #5C52BF #867FD0 #B0ABE0
Accessibility & contrast
On white
6.15
#5C52BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#5C52BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C52BF
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C52BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C52BF | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#346B80
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5c52bf; /* rgb */ color: rgb(92, 82, 191); /* oklch */ color: oklch(50.8% 0.165 283.0);
Tailwind
colors: {
custom: {
50: '#9283d3',
500: '#5c52bf',
950: '#000000',
},
}SCSS
$custom: #5c52bf; $custom-light: #9283d3; $custom-dark: #000000;
JSON
{
"hex": "#5c52bf",
"rgb": {
"r": 92,
"g": 82,
"b": 191
},
"hsl": {
"h": 245.505,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.50798,
"c": 0.16499,
"h": 283
},
"luminance": 0.12071
}Semantic roles & 50–950 ramp
primary
#5C52BF
secondary
#C9CE9F
accent
#D652CA
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83