#524AD5#524AD5

#524AD5 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.4% C 0.205 H 278.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#524AD5
RGBrgb(82, 74, 213)
HSLhsl(243, 62%, 56%)
HSVhsv(243, 65%, 84%)
CMYKcmyk(61.5%, 65.3%, 0%, 16.5%)
CIE-LABlab(40.40, 43.68, -70.48)
CIE-LCHlch(40.40, 82.91, 301.79°)
OKLaboklab(50.45% 0.0308 -0.2031)
OKLCHoklch(50.45% 0.205 278.6)
XYZxyz(17.9348, 11.4941, 64.2114)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524AD5 #CDD54A
analogous
#4A88D5 #524AD5 #984AD5
triadic
#524AD5 #D5524A #4AD552
tetradic
#524AD5 #D54A88 #CDD54A #4AD598
square
#524AD5 #D54A88 #CDD54A #4AD598
split-complementary
#524AD5 #D5984A #88D54A
monochromatic
#251F86 #332BB7 #524AD5 #817CE1 #B1ADEC

Accessibility & contrast

On white

6.37
#524AD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#524AD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524AD5
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524AD5#FFFFFF#000000##FFFFFF
##524AD51.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D9
Deuteranopia (green-blind)
#005AD2
Tritanopia (blue-blind)
#006E89
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #524ad5;
/* rgb */ color: rgb(82, 74, 213);
/* oklch */ color: oklch(50.4% 0.205 278.6);
Tailwind
colors: {
  custom: {
    50: '#907de3',
    500: '#524ad5',
    950: '#000000',
  },
}
SCSS
$custom: #524ad5;
$custom-light: #907de3;
$custom-dark: #000000;
JSON
{
  "hex": "#524ad5",
  "rgb": {
    "r": 82,
    "g": 74,
    "b": 213
  },
  "hsl": {
    "h": 243.453,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50448,
    "c": 0.2054,
    "h": 278.6
  },
  "luminance": 0.11495
}

Semantic roles & 50–950 ramp

primary
#524AD5
secondary
#D7DAA1
accent
#E542DC
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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