#524C8A#524C8A
#524C8A is a mid, moderate blue. Relative luminance 0.088; OKLCH L 45.2% C 0.099 H 286.1°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #524C8A |
|---|---|
| RGB | rgb(82, 76, 138) |
| HSL | hsl(246, 29%, 42%) |
| HSV | hsv(246, 45%, 54%) |
| CMYK | cmyk(40.6%, 44.9%, 0%, 45.9%) |
| CIE-LAB | lab(35.59, 18.68, -33.81) |
| CIE-LCH | lch(35.59, 38.62, 298.92°) |
| OKLab | oklab(45.21% 0.0276 -0.0954) |
| OKLCH | oklch(45.21% 0.099 286.1) |
| XYZ | xyz(10.6503, 8.7973, 25.1767) |
| Luminance | 0.0880 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.45
Dusk
#4E5481
ΔE00 4.52
Darkslateblue
#483D8B
ΔE00 5.14
Blueberry
#464196
ΔE00 5.26
Ocean Blue
#4F42B5
ΔE00 8.65
Dusky Blue
#475F94
ΔE00 8.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#524C8A #848A4C
analogous
#4C658A #524C8A #714C8A
triadic
#524C8A #8A524C #4C8A52
tetradic
#524C8A #8A4C65 #848A4C #4C8A71
square
#524C8A #8A4C65 #848A4C #4C8A71
split-complementary
#524C8A #8A714C #658A4C
monochromatic
#23213B #3B3663 #524C8A #6E68AC #948FC1
Accessibility & contrast
On white
7.61
#524C8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#524C8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #524C8A
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##524C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##524C8A | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36558C
Deuteranopia (green-blind)
#355289
Tritanopia (blue-blind)
#425864
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #524c8a; /* rgb */ color: rgb(82, 76, 138); /* oklch */ color: oklch(45.2% 0.099 286.1);
Tailwind
colors: {
custom: {
50: '#857eac',
500: '#524c8a',
950: '#000000',
},
}SCSS
$custom: #524c8a; $custom-light: #857eac; $custom-dark: #000000;
JSON
{
"hex": "#524c8a",
"rgb": {
"r": 82,
"g": 76,
"b": 138
},
"hsl": {
"h": 245.806,
"s": 28.972,
"l": 41.961
},
"oklch": {
"l": 0.4521,
"c": 0.09927,
"h": 286.1
},
"luminance": 0.08798
}Semantic roles & 50–950 ramp
primary
#524C8A
secondary
#AAAE84
accent
#C563BC
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F