#5352E2#5352E2
#5352E2 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 52.9% C 0.212 H 276.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #5352E2 |
|---|---|
| RGB | rgb(83, 82, 226) |
| HSL | hsl(240, 71%, 60%) |
| HSV | hsv(240, 64%, 89%) |
| CMYK | cmyk(63.3%, 63.7%, 0%, 11.4%) |
| CIE-LAB | lab(43.30, 43.29, -73.15) |
| CIE-LCH | lch(43.30, 85.00, 300.61°) |
| OKLab | oklab(52.91% 0.0245 -0.2109) |
| OKLCH | oklch(52.91% 0.212 276.6) |
| XYZ | xyz(20.3076, 13.3629, 73.4459) |
| Luminance | 0.1336 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.23
Slate Blue
#6A5ACD
ΔE00 4.73
Iris
#6258C4
ΔE00 4.74
Dark Periwinkle
#665FD1
ΔE00 4.86
Electric Blue
#0652FF
ΔE00 4.86
Purpleish Blue
#6140EF
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5352E2 #E1E252
analogous
#5299E2 #5352E2 #9B52E2
triadic
#5352E2 #E25352 #52E253
tetradic
#5352E2 #E25299 #E1E252 #52E29B
square
#5352E2 #E25299 #E1E252 #52E29B
split-complementary
#5352E2 #E29B52 #99E252
monochromatic
#1C1B9F #2523D3 #5352E2 #8786EB #BBBBF4
Accessibility & contrast
On white
5.72
#5352E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#5352E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5352E2
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5352E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5352E2 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0060DF
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5352e2; /* rgb */ color: rgb(83, 82, 226); /* oklch */ color: oklch(52.9% 0.212 276.6);
Tailwind
colors: {
custom: {
50: '#9383ec',
500: '#5352e2',
950: '#000000',
},
}SCSS
$custom: #5352e2; $custom-light: #9383ec; $custom-dark: #000000;
JSON
{
"hex": "#5352e2",
"rgb": {
"r": 83,
"g": 82,
"b": 226
},
"hsl": {
"h": 240.417,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.5291,
"c": 0.21228,
"h": 276.6
},
"luminance": 0.13365
}Semantic roles & 50–950 ramp
primary
#5352E2
secondary
#E3E3AC
accent
#D312D2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84