#5752AA#5752AA
#5752AA is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.9% C 0.137 H 282.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #5752AA |
|---|---|
| RGB | rgb(87, 82, 170) |
| HSL | hsl(243, 35%, 49%) |
| HSV | hsv(243, 52%, 67%) |
| CMYK | cmyk(48.8%, 51.8%, 0%, 33.3%) |
| CIE-LAB | lab(39.52, 26.02, -46.79) |
| CIE-LCH | lch(39.52, 53.54, 299.08°) |
| OKLab | oklab(48.9% 0.0299 -0.1333) |
| OKLCH | oklch(48.9% 0.137 282.7) |
| XYZ | xyz(14.2013, 10.9624, 39.3901) |
| Luminance | 0.1096 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.59
Ocean Blue
#4F42B5
ΔE00 5.32
Twilight
#4E518B
ΔE00 5.74
Blueberry
#464196
ΔE00 5.92
Slate Blue
#6A5ACD
ΔE00 6.47
Light Indigo
#6D5ACF
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5752AA #A5AA52
analogous
#5279AA #5752AA #8352AA
triadic
#5752AA #AA5752 #52AA57
tetradic
#5752AA #AA5279 #A5AA52 #52AA83
square
#5752AA #AA5279 #A5AA52 #52AA83
split-complementary
#5752AA #AA8352 #79AA52
monochromatic
#2D2A57 #423E81 #5752AA #7E7ABF #A6A4D3
Accessibility & contrast
On white
6.58
#5752AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#5752AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5752AA
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5752AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5752AA | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2860AD
Deuteranopia (green-blind)
#225AA8
Tritanopia (blue-blind)
#396576
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #5752aa; /* rgb */ color: rgb(87, 82, 170); /* oklch */ color: oklch(48.9% 0.137 282.7);
Tailwind
colors: {
custom: {
50: '#8c82c4',
500: '#5752aa',
950: '#000000',
},
}SCSS
$custom: #5752aa; $custom-light: #8c82c4; $custom-dark: #000000;
JSON
{
"hex": "#5752aa",
"rgb": {
"r": 87,
"g": 82,
"b": 170
},
"hsl": {
"h": 243.409,
"s": 34.921,
"l": 49.412
},
"oklch": {
"l": 0.48899,
"c": 0.13658,
"h": 282.7
},
"luminance": 0.10963
}Semantic roles & 50–950 ramp
primary
#5752AA
secondary
#BEC098
accent
#CB5DC5
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0A13
muted
#7D7C82