#524992#524992
#524992 is a mid, moderate blue. Relative luminance 0.086; OKLCH L 45.1% C 0.116 H 286.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #524992 |
|---|---|
| RGB | rgb(82, 73, 146) |
| HSL | hsl(247, 33%, 43%) |
| HSV | hsv(247, 50%, 57%) |
| CMYK | cmyk(43.8%, 50%, 0%, 42.7%) |
| CIE-LAB | lab(35.27, 23.03, -39.20) |
| CIE-LCH | lch(35.27, 45.47, 300.44°) |
| OKLab | oklab(45.12% 0.0328 -0.1112) |
| OKLCH | oklch(45.12% 0.116 286.4) |
| XYZ | xyz(11.0490, 8.6338, 28.2729) |
| Luminance | 0.0863 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.45
Darkslateblue
#483D8B
ΔE00 3.78
Twilight
#4E518B
ΔE00 3.87
Dusk
#4E5481
ΔE00 6.35
Ocean Blue
#4F42B5
ΔE00 6.59
Rebeccapurple
#663399
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#524992 #899249
analogous
#496492 #524992 #764992
triadic
#524992 #925249 #499252
tetradic
#524992 #924964 #899249 #499276
square
#524992 #924964 #899249 #499276
split-complementary
#524992 #927649 #649249
monochromatic
#242040 #3B3569 #524992 #6F66B2 #968FC7
Accessibility & contrast
On white
7.70
#524992 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#524992 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #524992
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##524992 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##524992 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5595
Deuteranopia (green-blind)
#2A5190
Tritanopia (blue-blind)
#3F5866
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #524992; /* rgb */ color: rgb(82, 73, 146); /* oklch */ color: oklch(45.1% 0.116 286.4);
Tailwind
colors: {
custom: {
50: '#867cb2',
500: '#524992',
950: '#000000',
},
}SCSS
$custom: #524992; $custom-light: #867cb2; $custom-dark: #000000;
JSON
{
"hex": "#524992",
"rgb": {
"r": 82,
"g": 73,
"b": 146
},
"hsl": {
"h": 247.397,
"s": 33.333,
"l": 42.941
},
"oklch": {
"l": 0.45121,
"c": 0.11589,
"h": 286.4
},
"luminance": 0.08634
}Semantic roles & 50–950 ramp
primary
#524992
secondary
#ADB384
accent
#C95EBC
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80