#524DC7#524DC7
#524DC7 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.8% C 0.184 H 279.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #524DC7 |
|---|---|
| RGB | rgb(82, 77, 199) |
| HSL | hsl(242, 52%, 54%) |
| HSV | hsv(242, 61%, 78%) |
| CMYK | cmyk(58.8%, 61.3%, 0%, 22%) |
| CIE-LAB | lab(39.95, 37.39, -63.12) |
| CIE-LCH | lch(39.95, 73.36, 300.65°) |
| OKLab | oklab(49.77% 0.0293 -0.1814) |
| OKLCH | oklch(49.77% 0.184 279.2) |
| XYZ | xyz(16.4391, 11.2239, 55.3219) |
| Luminance | 0.1123 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.94
Ocean Blue
#4F42B5
ΔE00 4.02
Warm Blue
#4B57DB
ΔE00 4.24
Bluey Purple
#6241C7
ΔE00 4.37
Blue With A Hint Of Purple
#533CC6
ΔE00 4.62
Slate Blue
#6A5ACD
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#524DC7 #C2C74D
analogous
#4D85C7 #524DC7 #8F4DC7
triadic
#524DC7 #C7524D #4DC752
tetradic
#524DC7 #C74D85 #C2C74D #4DC78F
square
#524DC7 #C74D85 #C2C74D #4DC78F
split-complementary
#524DC7 #C78F4D #85C74D
monochromatic
#282575 #3833A3 #524DC7 #7F7CD6 #ACAAE4
Accessibility & contrast
On white
6.47
#524DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#524DC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #524DC7
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##524DC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##524DC7 | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#006B83
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #524dc7; /* rgb */ color: rgb(82, 77, 199); /* oklch */ color: oklch(49.8% 0.184 279.2);
Tailwind
colors: {
custom: {
50: '#8e7fd9',
500: '#524dc7',
950: '#000000',
},
}SCSS
$custom: #524dc7; $custom-light: #8e7fd9; $custom-dark: #000000;
JSON
{
"hex": "#524dc7",
"rgb": {
"r": 82,
"g": 77,
"b": 199
},
"hsl": {
"h": 242.459,
"s": 52.137,
"l": 54.118
},
"oklch": {
"l": 0.49774,
"c": 0.18381,
"h": 279.2
},
"luminance": 0.11225
}Semantic roles & 50–950 ramp
primary
#524DC7
secondary
#D0D29E
accent
#DC4CD6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83