#5752C8#5752C8
#5752C8 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.178 H 279.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5752C8 |
|---|---|
| RGB | rgb(87, 82, 200) |
| HSL | hsl(243, 52%, 55%) |
| HSV | hsv(243, 59%, 78%) |
| CMYK | cmyk(56.5%, 59%, 0%, 21.6%) |
| CIE-LAB | lab(41.58, 35.56, -61.04) |
| CIE-LCH | lch(41.58, 70.64, 300.22°) |
| OKLab | oklab(51.09% 0.0307 -0.1752) |
| OKLCH | oklch(51.09% 0.178 279.9) |
| XYZ | xyz(17.3698, 12.2298, 56.0777) |
| Luminance | 0.1223 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.50
Warm Blue
#4B57DB
ΔE00 3.46
Slate Blue
#6A5ACD
ΔE00 3.88
Light Indigo
#6D5ACF
ΔE00 4.37
Dark Periwinkle
#665FD1
ΔE00 4.62
Bluey Purple
#6241C7
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5752C8 #C3C852
analogous
#5288C8 #5752C8 #9252C8
triadic
#5752C8 #C85752 #52C857
tetradic
#5752C8 #C85288 #C3C852 #52C892
square
#5752C8 #C85288 #C3C852 #52C892
split-complementary
#5752C8 #C89252 #88C852
monochromatic
#2A2779 #3A35A8 #5752C8 #8480D7 #B1AFE6
Accessibility & contrast
On white
6.09
#5752C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#5752C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5752C8
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5752C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5752C8 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#196E85
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5752c8; /* rgb */ color: rgb(87, 82, 200); /* oklch */ color: oklch(51.1% 0.178 279.9);
Tailwind
colors: {
custom: {
50: '#9083da',
500: '#5752c8',
950: '#000000',
},
}SCSS
$custom: #5752c8; $custom-light: #9083da; $custom-dark: #000000;
JSON
{
"hex": "#5752c8",
"rgb": {
"r": 87,
"g": 82,
"b": 200
},
"hsl": {
"h": 242.542,
"s": 51.754,
"l": 55.294
},
"oklch": {
"l": 0.51088,
"c": 0.17784,
"h": 279.9
},
"luminance": 0.12231
}Semantic roles & 50–950 ramp
primary
#5752C8
secondary
#D1D4A2
accent
#DB4DD5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83