#524D8D#524D8D
#524D8D is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.6% C 0.102 H 285.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #524D8D |
|---|---|
| RGB | rgb(82, 77, 141) |
| HSL | hsl(245, 29%, 43%) |
| HSV | hsv(245, 45%, 55%) |
| CMYK | cmyk(41.8%, 45.4%, 0%, 44.7%) |
| CIE-LAB | lab(36.03, 18.95, -34.94) |
| CIE-LCH | lch(36.03, 39.75, 298.47°) |
| OKLab | oklab(45.6% 0.0267 -0.0987) |
| OKLCH | oklch(45.6% 0.102 285.1) |
| XYZ | xyz(10.9399, 9.0243, 26.3596) |
| Luminance | 0.0902 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.18
Dusk
#4E5481
ΔE00 4.55
Blueberry
#464196
ΔE00 5.05
Darkslateblue
#483D8B
ΔE00 5.23
Ocean Blue
#4F42B5
ΔE00 8.23
Dusky Blue
#475F94
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#524D8D #888D4D
analogous
#4D688D #524D8D #724D8D
triadic
#524D8D #8D524D #4D8D52
tetradic
#524D8D #8D4D68 #888D4D #4D8D72
square
#524D8D #8D4D68 #888D4D #4D8D72
split-complementary
#524D8D #8D724D #688D4D
monochromatic
#24223E #3B3765 #524D8D #6F6AAD #9591C3
Accessibility & contrast
On white
7.49
#524D8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#524D8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #524D8D
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##524D8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##524D8D | 1.00 | 7.49 | 2.81 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36578F
Deuteranopia (green-blind)
#34538C
Tritanopia (blue-blind)
#415A66
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #524d8d; /* rgb */ color: rgb(82, 77, 141); /* oklch */ color: oklch(45.6% 0.102 285.1);
Tailwind
colors: {
custom: {
50: '#867eaf',
500: '#524d8d',
950: '#000000',
},
}SCSS
$custom: #524d8d; $custom-light: #867eaf; $custom-dark: #000000;
JSON
{
"hex": "#524d8d",
"rgb": {
"r": 82,
"g": 77,
"b": 141
},
"hsl": {
"h": 244.688,
"s": 29.358,
"l": 42.745
},
"oklch": {
"l": 0.45599,
"c": 0.10222,
"h": 285.1
},
"luminance": 0.09025
}Semantic roles & 50–950 ramp
primary
#524D8D
secondary
#ACAF86
accent
#C662BE
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F