#524AD8#524AD8

#524AD8 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.7% C 0.209 H 278.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#524AD8
RGBrgb(82, 74, 216)
HSLhsl(243, 65%, 57%)
HSVhsv(243, 66%, 85%)
CMYKcmyk(62%, 65.7%, 0%, 15.3%)
CIE-LABlab(40.65, 44.63, -71.79)
CIE-LCHlch(40.65, 84.53, 301.87°)
OKLaboklab(50.71% 0.0305 -0.2069)
OKLCHoklch(50.71% 0.209 278.4)
XYZxyz(18.3191, 11.6478, 66.2353)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524AD8 #D0D84A
analogous
#4A89D8 #524AD8 #994AD8
triadic
#524AD8 #D8524A #4AD852
tetradic
#524AD8 #D84A89 #D0D84A #4AD899
square
#524AD8 #D84A89 #D0D84A #4AD899
split-complementary
#524AD8 #D8994A #89D84A
monochromatic
#241E8A #3129BC #524AD8 #827CE3 #B2AFEE

Accessibility & contrast

On white

6.31
#524AD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#524AD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524AD8
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524AD8#FFFFFF#000000##FFFFFF
##524AD81.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#005AD5
Tritanopia (blue-blind)
#006F8B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #524ad8;
/* rgb */ color: rgb(82, 74, 216);
/* oklch */ color: oklch(50.7% 0.209 278.4);
Tailwind
colors: {
  custom: {
    50: '#917de5',
    500: '#524ad8',
    950: '#000000',
  },
}
SCSS
$custom: #524ad8;
$custom-light: #917de5;
$custom-dark: #000000;
JSON
{
  "hex": "#524ad8",
  "rgb": {
    "r": 82,
    "g": 74,
    "b": 216
  },
  "hsl": {
    "h": 243.38,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50707,
    "c": 0.20915,
    "h": 278.4
  },
  "luminance": 0.11649
}

Semantic roles & 50–950 ramp

primary
#524AD8
secondary
#D9DCA2
accent
#E840DE
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524AD8

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

Preview Lab → · Contrast checker → · Palette generator →

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