#524CA2#524CA2
#524CA2 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.135 H 283.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #524CA2 |
|---|---|
| RGB | rgb(82, 76, 162) |
| HSL | hsl(244, 36%, 47%) |
| HSV | hsv(244, 53%, 64%) |
| CMYK | cmyk(49.4%, 53.1%, 0%, 36.5%) |
| CIE-LAB | lab(37.06, 26.13, -45.99) |
| CIE-LCH | lch(37.06, 52.89, 299.60°) |
| OKLab | oklab(46.79% 0.0303 -0.1311) |
| OKLCH | oklch(46.79% 0.135 283) |
| XYZ | xyz(12.5837, 9.5707, 35.3597) |
| Luminance | 0.0957 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.79
Ocean Blue
#4F42B5
ΔE00 4.51
Twilight
#4E518B
ΔE00 5.11
Darkslateblue
#483D8B
ΔE00 5.45
Iris
#6258C4
ΔE00 6.49
Bluey Purple
#6241C7
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#524CA2 #9CA24C
analogous
#4C71A2 #524CA2 #7D4CA2
triadic
#524CA2 #A2524C #4CA252
tetradic
#524CA2 #A24C71 #9CA24C #4CA27D
square
#524CA2 #A24C71 #9CA24C #4CA27D
split-complementary
#524CA2 #A27D4C #71A24C
monochromatic
#28254F #3D3878 #524CA2 #7570BC #9D99CF
Accessibility & contrast
On white
7.21
#524CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#524CA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #524CA2
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##524CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##524CA2 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215AA5
Deuteranopia (green-blind)
#1B54A0
Tritanopia (blue-blind)
#355F6F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #524ca2; /* rgb */ color: rgb(82, 76, 162); /* oklch */ color: oklch(46.8% 0.135 283.0);
Tailwind
colors: {
custom: {
50: '#887ebe',
500: '#524ca2',
950: '#000000',
},
}SCSS
$custom: #524ca2; $custom-light: #887ebe; $custom-dark: #000000;
JSON
{
"hex": "#524ca2",
"rgb": {
"r": 82,
"g": 76,
"b": 162
},
"hsl": {
"h": 244.186,
"s": 36.134,
"l": 46.667
},
"oklch": {
"l": 0.46791,
"c": 0.13455,
"h": 283
},
"luminance": 0.09571
}Semantic roles & 50–950 ramp
primary
#524CA2
secondary
#B9BC8E
accent
#CC5CC4
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81