#524BA2#524BA2
#524BA2 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.6% C 0.136 H 283.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #524BA2 |
|---|---|
| RGB | rgb(82, 75, 162) |
| HSL | hsl(245, 37%, 46%) |
| HSV | hsv(245, 54%, 64%) |
| CMYK | cmyk(49.4%, 53.7%, 0%, 36.5%) |
| CIE-LAB | lab(36.81, 26.76, -46.40) |
| CIE-LCH | lch(36.81, 53.56, 299.97°) |
| OKLab | oklab(46.6% 0.0315 -0.1323) |
| OKLCH | oklch(46.6% 0.136 283.4) |
| XYZ | xyz(12.5154, 9.4340, 35.3369) |
| Luminance | 0.0944 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.57
Ocean Blue
#4F42B5
ΔE00 4.27
Darkslateblue
#483D8B
ΔE00 5.23
Twilight
#4E518B
ΔE00 5.31
Iris
#6258C4
ΔE00 6.62
Blue With A Hint Of Purple
#533CC6
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#524BA2 #9BA24B
analogous
#4B70A2 #524BA2 #7E4BA2
triadic
#524BA2 #A2524B #4BA252
tetradic
#524BA2 #A24B70 #9BA24B #4BA27E
square
#524BA2 #A24B70 #9BA24B #4BA27E
split-complementary
#524BA2 #A27E4B #70A24B
monochromatic
#28244E #3D3878 #524BA2 #746EBC #9D98CF
Accessibility & contrast
On white
7.27
#524BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#524BA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #524BA2
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##524BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##524BA2 | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E59A5
Deuteranopia (green-blind)
#1854A0
Tritanopia (blue-blind)
#355E6F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #524ba2; /* rgb */ color: rgb(82, 75, 162); /* oklch */ color: oklch(46.6% 0.136 283.4);
Tailwind
colors: {
custom: {
50: '#887dbe',
500: '#524ba2',
950: '#000000',
},
}SCSS
$custom: #524ba2; $custom-light: #887dbe; $custom-dark: #000000;
JSON
{
"hex": "#524ba2",
"rgb": {
"r": 82,
"g": 75,
"b": 162
},
"hsl": {
"h": 244.828,
"s": 36.709,
"l": 46.471
},
"oklch": {
"l": 0.46602,
"c": 0.136,
"h": 283.4
},
"luminance": 0.09435
}Semantic roles & 50–950 ramp
primary
#524BA2
secondary
#B8BC8D
accent
#CD5BC4
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0912
muted
#7D7B81