#524CD9#524CD9

#524CD9 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.1% C 0.208 H 278.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#524CD9
RGBrgb(82, 76, 217)
HSLhsl(243, 65%, 57%)
HSVhsv(243, 65%, 85%)
CMYKcmyk(62.2%, 65%, 0%, 14.9%)
CIE-LABlab(41.17, 43.78, -71.51)
CIE-LCHlch(41.17, 83.85, 301.48°)
OKLaboklab(51.11% 0.0288 -0.2061)
OKLCHoklch(51.11% 0.208 278)
XYZxyz(18.5845, 11.9710, 66.9635)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CD9 #D3D94C
analogous
#4C8DD9 #524CD9 #984CD9
triadic
#524CD9 #D9524C #4CD952
tetradic
#524CD9 #D94C8D #D3D94C #4CD998
square
#524CD9 #D94C8D #D3D94C #4CD998
split-complementary
#524CD9 #D9984C #8DD94C
monochromatic
#231E8D #2F29BF #524CD9 #837EE4 #B4B1EE

Accessibility & contrast

On white

6.19
#524CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#524CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524CD9
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CD9#FFFFFF#000000##FFFFFF
##524CD91.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#005BD6
Tritanopia (blue-blind)
#00708C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #524cd9;
/* rgb */ color: rgb(82, 76, 217);
/* oklch */ color: oklch(51.1% 0.208 278.0);
Tailwind
colors: {
  custom: {
    50: '#917fe6',
    500: '#524cd9',
    950: '#000000',
  },
}
SCSS
$custom: #524cd9;
$custom-light: #917fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#524cd9",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 242.553,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51109,
    "c": 0.2081,
    "h": 278
  },
  "luminance": 0.11972
}

Semantic roles & 50–950 ramp

primary
#524CD9
secondary
#DADDA4
accent
#E840E1
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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