#524AD4#524AD4

#524AD4 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.4% C 0.204 H 278.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#524AD4
RGBrgb(82, 74, 212)
HSLhsl(243, 62%, 56%)
HSVhsv(243, 65%, 83%)
CMYKcmyk(61.3%, 65.1%, 0%, 16.9%)
CIE-LABlab(40.32, 43.36, -70.04)
CIE-LCHlch(40.32, 82.37, 301.76°)
OKLaboklab(50.36% 0.0309 -0.2018)
OKLCHoklch(50.36% 0.204 278.7)
XYZxyz(17.8083, 11.4435, 63.5450)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524AD4 #CCD44A
analogous
#4A87D4 #524AD4 #974AD4
triadic
#524AD4 #D4524A #4AD452
tetradic
#524AD4 #D44A87 #CCD44A #4AD497
square
#524AD4 #D44A87 #CCD44A #4AD497
split-complementary
#524AD4 #D4974A #87D44A
monochromatic
#251F84 #332BB6 #524AD4 #817BE0 #B1ADEB

Accessibility & contrast

On white

6.38
#524AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#524AD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524AD4
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524AD4#FFFFFF#000000##FFFFFF
##524AD41.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D8
Deuteranopia (green-blind)
#0059D1
Tritanopia (blue-blind)
#006D88
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #524ad4;
/* rgb */ color: rgb(82, 74, 212);
/* oklch */ color: oklch(50.4% 0.204 278.7);
Tailwind
colors: {
  custom: {
    50: '#907de2',
    500: '#524ad4',
    950: '#000000',
  },
}
SCSS
$custom: #524ad4;
$custom-light: #907de2;
$custom-dark: #000000;
JSON
{
  "hex": "#524ad4",
  "rgb": {
    "r": 82,
    "g": 74,
    "b": 212
  },
  "hsl": {
    "h": 243.478,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50363,
    "c": 0.20414,
    "h": 278.7
  },
  "luminance": 0.11445
}

Semantic roles & 50–950 ramp

primary
#524AD4
secondary
#D6D9A0
accent
#E543DB
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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