#5752E2#5752E2
#5752E2 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.2% C 0.211 H 277.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #5752E2 |
|---|---|
| RGB | rgb(87, 82, 226) |
| HSL | hsl(242, 71%, 60%) |
| HSV | hsv(242, 64%, 89%) |
| CMYK | cmyk(61.5%, 63.7%, 0%, 11.4%) |
| CIE-LAB | lab(43.58, 43.87, -72.69) |
| CIE-LCH | lch(43.58, 84.90, 301.11°) |
| OKLab | oklab(53.18% 0.0292 -0.2094) |
| OKLCH | oklch(53.18% 0.211 277.9) |
| XYZ | xyz(20.6708, 13.5502, 73.4629) |
| Luminance | 0.1355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.62
Slate Blue
#6A5ACD
ΔE00 4.40
Iris
#6258C4
ΔE00 4.58
Light Indigo
#6D5ACF
ΔE00 4.58
Dark Periwinkle
#665FD1
ΔE00 4.64
Purpleish Blue
#6140EF
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5752E2 #DDE252
analogous
#5295E2 #5752E2 #9F52E2
triadic
#5752E2 #E25752 #52E257
tetradic
#5752E2 #E25295 #DDE252 #52E29F
square
#5752E2 #E25295 #DDE252 #52E29F
split-complementary
#5752E2 #E29F52 #95E252
monochromatic
#1F1B9F #2A23D3 #5752E2 #8A86EB #BDBBF4
Accessibility & contrast
On white
5.66
#5752E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#5752E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5752E2
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5752E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5752E2 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0061DF
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5752e2; /* rgb */ color: rgb(87, 82, 226); /* oklch */ color: oklch(53.2% 0.211 277.9);
Tailwind
colors: {
custom: {
50: '#9583ec',
500: '#5752e2',
950: '#000000',
},
}SCSS
$custom: #5752e2; $custom-light: #9583ec; $custom-dark: #000000;
JSON
{
"hex": "#5752e2",
"rgb": {
"r": 87,
"g": 82,
"b": 226
},
"hsl": {
"h": 242.083,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.53182,
"c": 0.21143,
"h": 277.9
},
"luminance": 0.13552
}Semantic roles & 50–950 ramp
primary
#5752E2
secondary
#E1E3AC
accent
#D312CD
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84