#524AD2#524AD2

#524AD2 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.2% C 0.202 H 278.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#524AD2
RGBrgb(82, 74, 210)
HSLhsl(244, 60%, 56%)
HSVhsv(244, 65%, 82%)
CMYKcmyk(61%, 64.8%, 0%, 17.6%)
CIE-LABlab(40.15, 42.72, -69.16)
CIE-LCHlch(40.15, 81.29, 301.71°)
OKLaboklab(50.19% 0.0311 -0.1992)
OKLCHoklch(50.19% 0.202 278.9)
XYZxyz(17.5576, 11.3432, 62.2245)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524AD2 #CAD24A
analogous
#4A86D2 #524AD2 #964AD2
triadic
#524AD2 #D2524A #4AD252
tetradic
#524AD2 #D24A86 #CAD24A #4AD296
square
#524AD2 #D24A86 #CAD24A #4AD296
split-complementary
#524AD2 #D2964A #86D24A
monochromatic
#262081 #342CB2 #524AD2 #817BDE #B0ACEA

Accessibility & contrast

On white

6.42
#524AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#524AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524AD2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524AD2#FFFFFF#000000##FFFFFF
##524AD21.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#006D87
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #524ad2;
/* rgb */ color: rgb(82, 74, 210);
/* oklch */ color: oklch(50.2% 0.202 278.9);
Tailwind
colors: {
  custom: {
    50: '#907de1',
    500: '#524ad2',
    950: '#000000',
  },
}
SCSS
$custom: #524ad2;
$custom-light: #907de1;
$custom-dark: #000000;
JSON
{
  "hex": "#524ad2",
  "rgb": {
    "r": 82,
    "g": 74,
    "b": 210
  },
  "hsl": {
    "h": 243.529,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50192,
    "c": 0.20162,
    "h": 278.9
  },
  "luminance": 0.11345
}

Semantic roles & 50–950 ramp

primary
#524AD2
secondary
#D5D8A0
accent
#E344DA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #524AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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