#5352C2#5352C2
#5352C2 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.3% C 0.171 H 278.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #5352C2 |
|---|---|
| RGB | rgb(83, 82, 194) |
| HSL | hsl(241, 48%, 54%) |
| HSV | hsv(241, 58%, 76%) |
| CMYK | cmyk(57.2%, 57.7%, 0%, 23.9%) |
| CIE-LAB | lab(40.84, 32.88, -58.76) |
| CIE-LCH | lch(40.84, 67.34, 299.23°) |
| OKLab | oklab(50.33% 0.0259 -0.1686) |
| OKLCH | oklch(50.33% 0.171 278.7) |
| XYZ | xyz(16.3191, 11.7675, 52.4399) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.94
Warm Blue
#4B57DB
ΔE00 3.87
Slate Blue
#6A5ACD
ΔE00 4.65
Ocean Blue
#4F42B5
ΔE00 4.99
Light Indigo
#6D5ACF
ΔE00 5.19
Dark Periwinkle
#665FD1
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5352C2 #C1C252
analogous
#5289C2 #5352C2 #8B52C2
triadic
#5352C2 #C25352 #52C253
tetradic
#5352C2 #C25289 #C1C252 #52C28B
square
#5352C2 #C25289 #C1C252 #52C28B
split-complementary
#5352C2 #C28B52 #89C252
monochromatic
#292872 #39389F #5352C2 #807FD2 #ADACE2
Accessibility & contrast
On white
6.26
#5352C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#5352C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5352C2
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5352C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5352C2 | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#116C82
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5352c2; /* rgb */ color: rgb(83, 82, 194); /* oklch */ color: oklch(50.3% 0.171 278.7);
Tailwind
colors: {
custom: {
50: '#8d82d5',
500: '#5352c2',
950: '#000000',
},
}SCSS
$custom: #5352c2; $custom-light: #8d82d5; $custom-dark: #000000;
JSON
{
"hex": "#5352c2",
"rgb": {
"r": 83,
"g": 82,
"b": 194
},
"hsl": {
"h": 240.536,
"s": 47.863,
"l": 54.118
},
"oklch": {
"l": 0.50331,
"c": 0.17057,
"h": 278.7
},
"luminance": 0.11769
}Semantic roles & 50–950 ramp
primary
#5352C2
secondary
#CFD0A0
accent
#D750D6
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83