#524ED2#524ED2

#524ED2 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.8% C 0.197 H 278.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#524ED2
RGBrgb(82, 78, 210)
HSLhsl(242, 59%, 56%)
HSVhsv(242, 63%, 82%)
CMYKcmyk(61%, 62.9%, 0%, 17.6%)
CIE-LABlab(41.05, 40.35, -67.69)
CIE-LCHlch(41.05, 78.81, 300.80°)
OKLaboklab(50.84% 0.0278 -0.1949)
OKLCHoklch(50.84% 0.197 278.1)
XYZxyz(17.8332, 11.8944, 62.3164)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524ED2 #CED24E
analogous
#4E8CD2 #524ED2 #944ED2
triadic
#524ED2 #D2524E #4ED252
tetradic
#524ED2 #D24E8C #CED24E #4ED294
square
#524ED2 #D24E8C #CED24E #4ED294
split-complementary
#524ED2 #D2944E #8CD24E
monochromatic
#252284 #322EB5 #524ED2 #827FDE #B1B0EB

Accessibility & contrast

On white

6.21
#524ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#524ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524ED2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524ED2#FFFFFF#000000##FFFFFF
##524ED21.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#005BCF
Tritanopia (blue-blind)
#006F89
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #524ed2;
/* rgb */ color: rgb(82, 78, 210);
/* oklch */ color: oklch(50.8% 0.197 278.1);
Tailwind
colors: {
  custom: {
    50: '#9080e1',
    500: '#524ed2',
    950: '#000000',
  },
}
SCSS
$custom: #524ed2;
$custom-light: #9080e1;
$custom-dark: #000000;
JSON
{
  "hex": "#524ed2",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 241.818,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50844,
    "c": 0.19686,
    "h": 278.1
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#524ED2
secondary
#D7D9A3
accent
#E345DE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #524ED2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#524ED2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva