#524792#524792
#524792 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.7% C 0.119 H 287.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #524792 |
|---|---|
| RGB | rgb(82, 71, 146) |
| HSL | hsl(249, 35%, 43%) |
| HSV | hsv(249, 51%, 57%) |
| CMYK | cmyk(43.8%, 51.4%, 0%, 42.7%) |
| CIE-LAB | lab(34.75, 24.31, -40.03) |
| CIE-LCH | lch(34.75, 46.83, 301.27°) |
| OKLab | oklab(44.73% 0.0354 -0.1136) |
| OKLCH | oklch(44.73% 0.119 287.3) |
| XYZ | xyz(10.9197, 8.3752, 28.2298) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.08
Darkslateblue
#483D8B
ΔE00 3.24
Twilight
#4E518B
ΔE00 4.52
Ocean Blue
#4F42B5
ΔE00 6.31
Dusk
#4E5481
ΔE00 6.93
Rebeccapurple
#663399
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#524792 #879247
analogous
#476292 #524792 #774792
triadic
#524792 #925247 #479252
tetradic
#524792 #924762 #879247 #479277
square
#524792 #924762 #879247 #479277
split-complementary
#524792 #927747 #629247
monochromatic
#241F40 #3B3369 #524792 #6F63B3 #958CC7
Accessibility & contrast
On white
7.85
#524792 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#524792 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #524792
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##524792 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##524792 | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275495
Deuteranopia (green-blind)
#265090
Tritanopia (blue-blind)
#3F5765
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #524792; /* rgb */ color: rgb(82, 71, 146); /* oklch */ color: oklch(44.7% 0.119 287.3);
Tailwind
colors: {
custom: {
50: '#867ab2',
500: '#524792',
950: '#000000',
},
}SCSS
$custom: #524792; $custom-light: #867ab2; $custom-dark: #000000;
JSON
{
"hex": "#524792",
"rgb": {
"r": 82,
"g": 71,
"b": 146
},
"hsl": {
"h": 248.8,
"s": 34.562,
"l": 42.549
},
"oklch": {
"l": 0.44733,
"c": 0.11898,
"h": 287.3
},
"luminance": 0.08376
}Semantic roles & 50–950 ramp
primary
#524792
secondary
#ACB382
accent
#CB5DBB
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80