#524FC8#524FC8
#524FC8 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.2% C 0.183 H 278.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #524FC8 |
|---|---|
| RGB | rgb(82, 79, 200) |
| HSL | hsl(241, 52%, 55%) |
| HSV | hsv(241, 61%, 78%) |
| CMYK | cmyk(59%, 60.5%, 0%, 21.6%) |
| CIE-LAB | lab(40.50, 36.50, -62.81) |
| CIE-LCH | lch(40.50, 72.65, 300.16°) |
| OKLab | oklab(50.2% 0.0275 -0.1805) |
| OKLCH | oklch(50.2% 0.183 278.6) |
| XYZ | xyz(16.6977, 11.5547, 55.9828) |
| Luminance | 0.1156 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.56
Warm Blue
#4B57DB
ΔE00 3.71
Ocean Blue
#4F42B5
ΔE00 4.57
Bluey Purple
#6241C7
ΔE00 4.87
Slate Blue
#6A5ACD
ΔE00 4.92
Blue With A Hint Of Purple
#533CC6
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#524FC8 #C5C84F
analogous
#4F88C8 #524FC8 #8F4FC8
triadic
#524FC8 #C8524F #4FC852
tetradic
#524FC8 #C84F88 #C5C84F #4FC88F
square
#524FC8 #C84F88 #C5C84F #4FC88F
split-complementary
#524FC8 #C88F4F #88C84F
monochromatic
#272577 #3734A6 #524FC8 #807ED7 #AEACE5
Accessibility & contrast
On white
6.34
#524FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#524FC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #524FC8
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##524FC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##524FC8 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#005BC6
Tritanopia (blue-blind)
#006C84
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #524fc8; /* rgb */ color: rgb(82, 79, 200); /* oklch */ color: oklch(50.2% 0.183 278.6);
Tailwind
colors: {
custom: {
50: '#8e80da',
500: '#524fc8',
950: '#000000',
},
}SCSS
$custom: #524fc8; $custom-light: #8e80da; $custom-dark: #000000;
JSON
{
"hex": "#524fc8",
"rgb": {
"r": 82,
"g": 79,
"b": 200
},
"hsl": {
"h": 241.488,
"s": 52.381,
"l": 54.706
},
"oklch": {
"l": 0.50198,
"c": 0.18261,
"h": 278.6
},
"luminance": 0.11556
}Semantic roles & 50–950 ramp
primary
#524FC8
secondary
#D2D3A0
accent
#DC4CD8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83