#524FCC#524FCC
#524FCC is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.5% C 0.188 H 278.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #524FCC |
|---|---|
| RGB | rgb(82, 79, 204) |
| HSL | hsl(241, 55%, 55%) |
| HSV | hsv(241, 61%, 80%) |
| CMYK | cmyk(59.8%, 61.3%, 0%, 20%) |
| CIE-LAB | lab(40.81, 37.80, -64.63) |
| CIE-LCH | lch(40.81, 74.87, 300.32°) |
| OKLab | oklab(50.52% 0.0273 -0.1859) |
| OKLCH | oklch(50.52% 0.188 278.3) |
| XYZ | xyz(17.1713, 11.7442, 58.4770) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.37
Iris
#6258C4
ΔE00 3.65
Slate Blue
#6A5ACD
ΔE00 4.82
Bluey Purple
#6241C7
ΔE00 4.88
Ocean Blue
#4F42B5
ΔE00 4.91
Light Indigo
#6D5ACF
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#524FCC #C9CC4F
analogous
#4F8ACC #524FCC #904FCC
triadic
#524FCC #CC524F #4FCC52
tetradic
#524FCC #CC4F8A #C9CC4F #4FCC90
square
#524FCC #CC4F8A #C9CC4F #4FCC90
split-complementary
#524FCC #CC904F #8ACC4F
monochromatic
#26247D #3532AC #524FCC #817EDA #AFAEE7
Accessibility & contrast
On white
6.27
#524FCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#524FCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #524FCC
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##524FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##524FCC | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#006E86
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #524fcc; /* rgb */ color: rgb(82, 79, 204); /* oklch */ color: oklch(50.5% 0.188 278.3);
Tailwind
colors: {
custom: {
50: '#8f81dc',
500: '#524fcc',
950: '#000000',
},
}SCSS
$custom: #524fcc; $custom-light: #8f81dc; $custom-dark: #000000;
JSON
{
"hex": "#524fcc",
"rgb": {
"r": 82,
"g": 79,
"b": 204
},
"hsl": {
"h": 241.44,
"s": 55.066,
"l": 55.49
},
"oklch": {
"l": 0.5052,
"c": 0.18787,
"h": 278.3
},
"luminance": 0.11745
}Semantic roles & 50–950 ramp
primary
#524FCC
secondary
#D4D5A1
accent
#DE49DB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83