#524AB2#524AB2
#524AB2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.6% C 0.160 H 281.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #524AB2 |
|---|---|
| RGB | rgb(82, 74, 178) |
| HSL | hsl(245, 41%, 49%) |
| HSV | hsv(245, 58%, 70%) |
| CMYK | cmyk(53.9%, 58.4%, 0%, 30.2%) |
| CIE-LAB | lab(37.67, 32.48, -54.52) |
| CIE-LCH | lch(37.67, 63.46, 300.78°) |
| OKLab | oklab(47.6% 0.033 -0.1562) |
| OKLCH | oklch(47.6% 0.16 281.9) |
| XYZ | xyz(13.9619, 9.9049, 43.2870) |
| Luminance | 0.0991 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.39
Blue With A Hint Of Purple
#533CC6
ΔE00 4.82
Bluey Purple
#6241C7
ΔE00 4.91
Blueberry
#464196
ΔE00 5.04
Iris
#6258C4
ΔE00 5.27
Blurple
#5539CC
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#524AB2 #AAB24A
analogous
#4A76B2 #524AB2 #864AB2
triadic
#524AB2 #B2524A #4AB252
tetradic
#524AB2 #B24A76 #AAB24A #4AB286
square
#524AB2 #B24A76 #AAB24A #4AB286
split-complementary
#524AB2 #B2864A #76B24A
monochromatic
#2A265C #3E3887 #524AB2 #7A74C5 #A49FD7
Accessibility & contrast
On white
7.04
#524AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#524AB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #524AB2
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##524AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##524AB2 | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#286277
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #524ab2; /* rgb */ color: rgb(82, 74, 178); /* oklch */ color: oklch(47.6% 0.160 281.9);
Tailwind
colors: {
custom: {
50: '#8b7dca',
500: '#524ab2',
950: '#000000',
},
}SCSS
$custom: #524ab2; $custom-light: #8b7dca; $custom-dark: #000000;
JSON
{
"hex": "#524ab2",
"rgb": {
"r": 82,
"g": 74,
"b": 178
},
"hsl": {
"h": 244.615,
"s": 41.27,
"l": 49.412
},
"oklch": {
"l": 0.47598,
"c": 0.15965,
"h": 281.9
},
"luminance": 0.09906
}Semantic roles & 50–950 ramp
primary
#524AB2
secondary
#C0C494
accent
#D157C8
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0D0913
muted
#7D7B82