#524FD1#524FD1
#524FD1 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.9% C 0.194 H 278.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #524FD1 |
|---|---|
| RGB | rgb(82, 79, 209) |
| HSL | hsl(241, 59%, 56%) |
| HSV | hsv(241, 62%, 82%) |
| CMYK | cmyk(60.8%, 62.2%, 0%, 18%) |
| CIE-LAB | lab(41.20, 39.42, -66.88) |
| CIE-LCH | lch(41.20, 77.63, 300.52°) |
| OKLab | oklab(50.93% 0.027 -0.1925) |
| OKLCH | oklch(50.93% 0.194 278) |
| XYZ | xyz(17.7806, 11.9879, 61.6862) |
| Luminance | 0.1199 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.02
Iris
#6258C4
ΔE00 3.86
Slate Blue
#6A5ACD
ΔE00 4.78
Bluey Purple
#6241C7
ΔE00 4.97
Light Indigo
#6D5ACF
ΔE00 5.17
Ocean Blue
#4F42B5
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#524FD1 #CED14F
analogous
#4F8DD1 #524FD1 #934FD1
triadic
#524FD1 #D1524F #4FD152
tetradic
#524FD1 #D14F8D #CED14F #4FD193
square
#524FD1 #D14F8D #CED14F #4FD193
split-complementary
#524FD1 #D1934F #8DD14F
monochromatic
#252283 #322FB4 #524FD1 #8280DE #B1B0EA
Accessibility & contrast
On white
6.18
#524FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#524FD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #524FD1
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##524FD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##524FD1 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#005CCE
Tritanopia (blue-blind)
#006F89
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #524fd1; /* rgb */ color: rgb(82, 79, 209); /* oklch */ color: oklch(50.9% 0.194 278.0);
Tailwind
colors: {
custom: {
50: '#8f81e0',
500: '#524fd1',
950: '#000000',
},
}SCSS
$custom: #524fd1; $custom-light: #8f81e0; $custom-dark: #000000;
JSON
{
"hex": "#524fd1",
"rgb": {
"r": 82,
"g": 79,
"b": 209
},
"hsl": {
"h": 241.385,
"s": 58.559,
"l": 56.471
},
"oklch": {
"l": 0.50928,
"c": 0.19436,
"h": 278
},
"luminance": 0.11989
}Semantic roles & 50–950 ramp
primary
#524FD1
secondary
#D7D9A3
accent
#E246DE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83