#524DAE#524DAE

#524DAE is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.150 H 281.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#524DAE
RGBrgb(82, 77, 174)
HSLhsl(243, 39%, 49%)
HSVhsv(243, 56%, 68%)
CMYKcmyk(52.9%, 55.7%, 0%, 31.8%)
CIE-LABlab(38.12, 29.33, -51.43)
CIE-LCHlch(38.12, 59.20, 299.69°)
OKLaboklab(47.84% 0.0297 -0.1471)
OKLCHoklch(47.84% 0.15 281.4)
XYZxyz(13.7712, 10.1568, 41.2710)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524DAE #A9AE4D
analogous
#4D79AE #524DAE #834DAE
triadic
#524DAE #AE524D #4DAE52
tetradic
#524DAE #AE4D79 #A9AE4D #4DAE83
square
#524DAE #AE4D79 #A9AE4D #4DAE83
split-complementary
#524DAE #AE834D #79AE4D
monochromatic
#2A2759 #3E3A84 #524DAE #7A76C2 #A3A0D5

Accessibility & contrast

On white

6.93
#524DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#524DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524DAE
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524DAE#FFFFFF#000000##FFFFFF
##524DAE1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5DB1
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#2B6376
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #524dae;
/* rgb */ color: rgb(82, 77, 174);
/* oklch */ color: oklch(47.8% 0.150 281.4);
Tailwind
colors: {
  custom: {
    50: '#8a7fc7',
    500: '#524dae',
    950: '#000000',
  },
}
SCSS
$custom: #524dae;
$custom-light: #8a7fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#524dae",
  "rgb": {
    "r": 82,
    "g": 77,
    "b": 174
  },
  "hsl": {
    "h": 243.093,
    "s": 38.645,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47842,
    "c": 0.15004,
    "h": 281.4
  },
  "luminance": 0.10158
}

Semantic roles & 50–950 ramp

primary
#524DAE
secondary
#C0C295
accent
#CF59C9
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #524DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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