#5752CA#5752CA
#5752CA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.2% C 0.180 H 279.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5752CA |
|---|---|
| RGB | rgb(87, 82, 202) |
| HSL | hsl(243, 53%, 56%) |
| HSV | hsv(243, 59%, 79%) |
| CMYK | cmyk(56.9%, 59.4%, 0%, 20.8%) |
| CIE-LAB | lab(41.73, 36.20, -61.96) |
| CIE-LCH | lch(41.73, 71.76, 300.29°) |
| OKLab | oklab(51.24% 0.0306 -0.1779) |
| OKLCH | oklch(51.24% 0.18 279.8) |
| XYZ | xyz(17.6051, 12.3239, 57.3167) |
| Luminance | 0.1232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.57
Warm Blue
#4B57DB
ΔE00 3.26
Slate Blue
#6A5ACD
ΔE00 3.82
Light Indigo
#6D5ACF
ΔE00 4.30
Dark Periwinkle
#665FD1
ΔE00 4.54
Bluey Purple
#6241C7
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5752CA #C5CA52
analogous
#5289CA #5752CA #9352CA
triadic
#5752CA #CA5752 #52CA57
tetradic
#5752CA #CA5289 #C5CA52 #52CA93
square
#5752CA #CA5289 #C5CA52 #52CA93
split-complementary
#5752CA #CA9352 #89CA52
monochromatic
#29267C #3934AB #5752CA #8481D8 #B2B0E7
Accessibility & contrast
On white
6.06
#5752CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#5752CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5752CA
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5752CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5752CA | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#156F86
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5752ca; /* rgb */ color: rgb(87, 82, 202); /* oklch */ color: oklch(51.2% 0.180 279.8);
Tailwind
colors: {
custom: {
50: '#9183db',
500: '#5752ca',
950: '#000000',
},
}SCSS
$custom: #5752ca; $custom-light: #9183db; $custom-dark: #000000;
JSON
{
"hex": "#5752ca",
"rgb": {
"r": 87,
"g": 82,
"b": 202
},
"hsl": {
"h": 242.5,
"s": 53.097,
"l": 55.686
},
"oklch": {
"l": 0.51243,
"c": 0.18049,
"h": 279.8
},
"luminance": 0.12325
}Semantic roles & 50–950 ramp
primary
#5752CA
secondary
#D3D5A3
accent
#DD4BD6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83