#524AAA#524AAA
#524AAA is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.0% C 0.149 H 282.8°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #524AAA |
|---|---|
| RGB | rgb(82, 74, 170) |
| HSL | hsl(245, 39%, 48%) |
| HSV | hsv(245, 56%, 67%) |
| CMYK | cmyk(51.8%, 56.5%, 0%, 33.3%) |
| CIE-LAB | lab(37.10, 29.92, -50.70) |
| CIE-LCH | lch(37.10, 58.87, 300.55°) |
| OKLab | oklab(47% 0.033 -0.1449) |
| OKLCH | oklch(47% 0.149 282.8) |
| XYZ | xyz(13.1820, 9.5930, 39.1795) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.02
Blueberry
#464196
ΔE00 4.09
Blue With A Hint Of Purple
#533CC6
ΔE00 5.73
Bluey Purple
#6241C7
ΔE00 5.81
Iris
#6258C4
ΔE00 5.92
Darkslateblue
#483D8B
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#524AAA #A2AA4A
analogous
#4A72AA #524AAA #824AAA
triadic
#524AAA #AA524A #4AAA52
tetradic
#524AAA #AA4A72 #A2AA4A #4AAA82
square
#524AAA #AA4A72 #A2AA4A #4AAA82
split-complementary
#524AAA #AA824A #72AA4A
monochromatic
#292555 #3D377F #524AAA #7770C1 #A09BD3
Accessibility & contrast
On white
7.19
#524AAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#524AAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #524AAA
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##524AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##524AAA | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#085AAD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#2F6073
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #524aaa; /* rgb */ color: rgb(82, 74, 170); /* oklch */ color: oklch(47.0% 0.149 282.8);
Tailwind
colors: {
custom: {
50: '#897dc4',
500: '#524aaa',
950: '#000000',
},
}SCSS
$custom: #524aaa; $custom-light: #897dc4; $custom-dark: #000000;
JSON
{
"hex": "#524aaa",
"rgb": {
"r": 82,
"g": 74,
"b": 170
},
"hsl": {
"h": 245,
"s": 39.344,
"l": 47.843
},
"oklch": {
"l": 0.46995,
"c": 0.14865,
"h": 282.8
},
"luminance": 0.09594
}Semantic roles & 50–950 ramp
primary
#524AAA
secondary
#BCC090
accent
#CF59C5
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82