#524BB1#524BB1
#524BB1 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.7% C 0.157 H 281.7°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #524BB1 |
|---|---|
| RGB | rgb(82, 75, 177) |
| HSL | hsl(244, 40%, 49%) |
| HSV | hsv(244, 58%, 69%) |
| CMYK | cmyk(53.7%, 57.6%, 0%, 30.6%) |
| CIE-LAB | lab(37.84, 31.54, -53.66) |
| CIE-LCH | lch(37.84, 62.24, 300.44°) |
| OKLab | oklab(47.7% 0.0319 -0.1536) |
| OKLCH | oklch(47.7% 0.157 281.7) |
| XYZ | xyz(13.9291, 9.9995, 42.7826) |
| Luminance | 0.1000 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.74
Blueberry
#464196
ΔE00 5.03
Iris
#6258C4
ΔE00 5.14
Blue With A Hint Of Purple
#533CC6
ΔE00 5.18
Bluey Purple
#6241C7
ΔE00 5.21
Blurple
#5539CC
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#524BB1 #AAB14B
analogous
#4B77B1 #524BB1 #854BB1
triadic
#524BB1 #B1524B #4BB152
tetradic
#524BB1 #B14B77 #AAB14B #4BB185
square
#524BB1 #B14B77 #AAB14B #4BB185
split-complementary
#524BB1 #B1854B #77B14B
monochromatic
#2A275B #3E3986 #524BB1 #7A75C4 #A4A0D7
Accessibility & contrast
On white
7.00
#524BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#524BB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #524BB1
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##524BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##524BB1 | 1.00 | 7.00 | 3.00 | 7.00 |
| #FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB4
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#296376
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #524bb1; /* rgb */ color: rgb(82, 75, 177); /* oklch */ color: oklch(47.7% 0.157 281.7);
Tailwind
colors: {
custom: {
50: '#8a7dc9',
500: '#524bb1',
950: '#000000',
},
}SCSS
$custom: #524bb1; $custom-light: #8a7dc9; $custom-dark: #000000;
JSON
{
"hex": "#524bb1",
"rgb": {
"r": 82,
"g": 75,
"b": 177
},
"hsl": {
"h": 244.118,
"s": 40.476,
"l": 49.412
},
"oklch": {
"l": 0.47701,
"c": 0.15692,
"h": 281.7
},
"luminance": 0.1
}Semantic roles & 50–950 ramp
primary
#524BB1
secondary
#C0C394
accent
#D057C8
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0D0913
muted
#7D7B82