#524DC5#524DC5
#524DC5 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.6% C 0.181 H 279.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #524DC5 |
|---|---|
| RGB | rgb(82, 77, 197) |
| HSL | hsl(243, 51%, 54%) |
| HSV | hsv(243, 61%, 77%) |
| CMYK | cmyk(58.4%, 60.9%, 0%, 22.7%) |
| CIE-LAB | lab(39.80, 36.75, -62.20) |
| CIE-LCH | lch(39.80, 72.25, 300.57°) |
| OKLab | oklab(49.61% 0.0294 -0.1788) |
| OKLCH | oklch(49.61% 0.181 279.4) |
| XYZ | xyz(16.2084, 11.1317, 54.1070) |
| Luminance | 0.1113 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.85
Iris
#6258C4
ΔE00 3.93
Bluey Purple
#6241C7
ΔE00 4.40
Warm Blue
#4B57DB
ΔE00 4.42
Blue With A Hint Of Purple
#533CC6
ΔE00 4.62
Blurple
#5539CC
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#524DC5 #C0C54D
analogous
#4D84C5 #524DC5 #8E4DC5
triadic
#524DC5 #C5524D #4DC552
tetradic
#524DC5 #C54D84 #C0C54D #4DC58E
square
#524DC5 #C54D84 #C0C54D #4DC58E
split-complementary
#524DC5 #C58E4D #84C54D
monochromatic
#282572 #3934A0 #524DC5 #7F7BD4 #ACA9E3
Accessibility & contrast
On white
6.51
#524DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#524DC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #524DC5
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##524DC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##524DC5 | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0059C3
Tritanopia (blue-blind)
#016A82
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #524dc5; /* rgb */ color: rgb(82, 77, 197); /* oklch */ color: oklch(49.6% 0.181 279.4);
Tailwind
colors: {
custom: {
50: '#8d7fd7',
500: '#524dc5',
950: '#000000',
},
}SCSS
$custom: #524dc5; $custom-light: #8d7fd7; $custom-dark: #000000;
JSON
{
"hex": "#524dc5",
"rgb": {
"r": 82,
"g": 77,
"b": 197
},
"hsl": {
"h": 242.5,
"s": 50.847,
"l": 53.725
},
"oklch": {
"l": 0.49613,
"c": 0.18118,
"h": 279.4
},
"luminance": 0.11133
}Semantic roles & 50–950 ramp
primary
#524DC5
secondary
#CED19D
accent
#DA4DD4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0A14
muted
#7E7C83