#5752CB#5752CB
#5752CB is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.3% C 0.182 H 279.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5752CB |
|---|---|
| RGB | rgb(87, 82, 203) |
| HSL | hsl(242, 54%, 56%) |
| HSV | hsv(242, 60%, 80%) |
| CMYK | cmyk(57.1%, 59.6%, 0%, 20.4%) |
| CIE-LAB | lab(41.80, 36.52, -62.42) |
| CIE-LCH | lch(41.80, 72.31, 300.33°) |
| OKLab | oklab(51.32% 0.0306 -0.1792) |
| OKLCH | oklch(51.32% 0.182 279.7) |
| XYZ | xyz(17.7239, 12.3714, 57.9423) |
| Luminance | 0.1237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.62
Warm Blue
#4B57DB
ΔE00 3.17
Slate Blue
#6A5ACD
ΔE00 3.80
Light Indigo
#6D5ACF
ΔE00 4.27
Dark Periwinkle
#665FD1
ΔE00 4.51
Bluey Purple
#6241C7
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5752CB #C6CB52
analogous
#5289CB #5752CB #9352CB
triadic
#5752CB #CB5752 #52CB57
tetradic
#5752CB #CB5289 #C6CB52 #52CB93
square
#5752CB #CB5289 #C6CB52 #52CB93
split-complementary
#5752CB #CB9352 #89CB52
monochromatic
#29267D #3934AC #5752CB #8581D9 #B2B0E7
Accessibility & contrast
On white
6.04
#5752CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#5752CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5752CB
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5752CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5752CB | 1.00 | 6.04 | 3.47 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#136F86
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5752cb; /* rgb */ color: rgb(87, 82, 203); /* oklch */ color: oklch(51.3% 0.182 279.7);
Tailwind
colors: {
custom: {
50: '#9183dc',
500: '#5752cb',
950: '#000000',
},
}SCSS
$custom: #5752cb; $custom-light: #9183dc; $custom-dark: #000000;
JSON
{
"hex": "#5752cb",
"rgb": {
"r": 87,
"g": 82,
"b": 203
},
"hsl": {
"h": 242.479,
"s": 53.778,
"l": 55.882
},
"oklch": {
"l": 0.51321,
"c": 0.18182,
"h": 279.7
},
"luminance": 0.12373
}Semantic roles & 50–950 ramp
primary
#5752CB
secondary
#D3D5A3
accent
#DD4BD7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83