#524FC4#524FC4
#524FC4 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.9% C 0.177 H 279.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #524FC4 |
|---|---|
| RGB | rgb(82, 79, 196) |
| HSL | hsl(242, 50%, 54%) |
| HSV | hsv(242, 60%, 77%) |
| CMYK | cmyk(58.2%, 59.7%, 0%, 23.1%) |
| CIE-LAB | lab(40.20, 35.20, -60.98) |
| CIE-LCH | lch(40.20, 70.41, 300.00°) |
| OKLab | oklab(49.88% 0.0276 -0.1752) |
| OKLCH | oklch(49.88% 0.177 279) |
| XYZ | xyz(16.2363, 11.3702, 53.5529) |
| Luminance | 0.1137 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.53
Warm Blue
#4B57DB
ΔE00 4.11
Ocean Blue
#4F42B5
ΔE00 4.28
Bluey Purple
#6241C7
ΔE00 4.93
Slate Blue
#6A5ACD
ΔE00 5.06
Blue With A Hint Of Purple
#533CC6
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#524FC4 #C1C44F
analogous
#4F87C4 #524FC4 #8D4FC4
triadic
#524FC4 #C4524F #4FC452
tetradic
#524FC4 #C44F87 #C1C44F #4FC48D
square
#524FC4 #C44F87 #C1C44F #4FC48D
split-complementary
#524FC4 #C48D4F #87C44F
monochromatic
#282672 #3836A0 #524FC4 #7F7DD3 #ACABE3
Accessibility & contrast
On white
6.41
#524FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#524FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #524FC4
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##524FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##524FC4 | 1.00 | 6.41 | 3.27 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#046B82
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #524fc4; /* rgb */ color: rgb(82, 79, 196); /* oklch */ color: oklch(49.9% 0.177 279.0);
Tailwind
colors: {
custom: {
50: '#8d80d7',
500: '#524fc4',
950: '#000000',
},
}SCSS
$custom: #524fc4; $custom-light: #8d80d7; $custom-dark: #000000;
JSON
{
"hex": "#524fc4",
"rgb": {
"r": 82,
"g": 79,
"b": 196
},
"hsl": {
"h": 241.538,
"s": 49.787,
"l": 53.922
},
"oklch": {
"l": 0.49881,
"c": 0.17732,
"h": 279
},
"luminance": 0.11371
}Semantic roles & 50–950 ramp
primary
#524FC4
secondary
#CFD09E
accent
#D94ED6
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83