#524C97#524C97
#524C97 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 46.0% C 0.119 H 284.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #524C97 |
|---|---|
| RGB | rgb(82, 76, 151) |
| HSL | hsl(245, 33%, 45%) |
| HSV | hsv(245, 50%, 59%) |
| CMYK | cmyk(45.7%, 49.7%, 0%, 40.8%) |
| CIE-LAB | lab(36.36, 22.67, -40.49) |
| CIE-LCH | lch(36.36, 46.40, 299.24°) |
| OKLab | oklab(46.04% 0.0294 -0.1149) |
| OKLCH | oklch(46.04% 0.119 284.3) |
| XYZ | xyz(11.6484, 9.1966, 30.4335) |
| Luminance | 0.0920 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.52
Blueberry
#464196
ΔE00 3.77
Darkslateblue
#483D8B
ΔE00 4.73
Dusk
#4E5481
ΔE00 6.16
Ocean Blue
#4F42B5
ΔE00 6.21
Iris
#6258C4
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#524C97 #91974C
analogous
#4C6C97 #524C97 #784C97
triadic
#524C97 #97524C #4C9752
tetradic
#524C97 #974C6C #91974C #4C9778
square
#524C97 #974C6C #91974C #4C9778
split-complementary
#524C97 #97784C #6C974C
monochromatic
#262346 #3C386E #524C97 #716BB5 #9894C9
Accessibility & contrast
On white
7.40
#524C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#524C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #524C97
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##524C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##524C97 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C589A
Deuteranopia (green-blind)
#295395
Tritanopia (blue-blind)
#3C5C6A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #524c97; /* rgb */ color: rgb(82, 76, 151); /* oklch */ color: oklch(46.0% 0.119 284.3);
Tailwind
colors: {
custom: {
50: '#877eb6',
500: '#524c97',
950: '#000000',
},
}SCSS
$custom: #524c97; $custom-light: #877eb6; $custom-dark: #000000;
JSON
{
"hex": "#524c97",
"rgb": {
"r": 82,
"g": 76,
"b": 151
},
"hsl": {
"h": 244.8,
"s": 33.04,
"l": 44.51
},
"oklch": {
"l": 0.4604,
"c": 0.11863,
"h": 284.3
},
"luminance": 0.09197
}Semantic roles & 50–950 ramp
primary
#524C97
secondary
#B2B689
accent
#C95FC1
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80