#524CD5#524CD5

#524CD5 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 50.8% C 0.203 H 278.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#524CD5
RGBrgb(82, 76, 213)
HSLhsl(243, 62%, 57%)
HSVhsv(243, 64%, 84%)
CMYKcmyk(61.5%, 64.3%, 0%, 16.5%)
CIE-LABlab(40.84, 42.50, -69.76)
CIE-LCHlch(40.84, 81.68, 301.35°)
OKLaboklab(50.77% 0.0292 -0.2009)
OKLCHoklch(50.77% 0.203 278.3)
XYZxyz(18.0705, 11.7654, 64.2566)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CD5 #CFD54C
analogous
#4C8BD5 #524CD5 #974CD5
triadic
#524CD5 #D5524C #4CD552
tetradic
#524CD5 #D54C8B #CFD54C #4CD597
square
#524CD5 #D54C8B #CFD54C #4CD597
split-complementary
#524CD5 #D5974C #8BD54C
monochromatic
#242087 #312BB9 #524CD5 #827EE1 #B2AFEC

Accessibility & contrast

On white

6.26
#524CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#524CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524CD5
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CD5#FFFFFF#000000##FFFFFF
##524CD51.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D9
Deuteranopia (green-blind)
#005BD2
Tritanopia (blue-blind)
#006F8A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #524cd5;
/* rgb */ color: rgb(82, 76, 213);
/* oklch */ color: oklch(50.8% 0.203 278.3);
Tailwind
colors: {
  custom: {
    50: '#907fe3',
    500: '#524cd5',
    950: '#000000',
  },
}
SCSS
$custom: #524cd5;
$custom-light: #907fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#524cd5",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 242.628,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50768,
    "c": 0.20306,
    "h": 278.3
  },
  "luminance": 0.11767
}

Semantic roles & 50–950 ramp

primary
#524CD5
secondary
#D8DAA2
accent
#E543DE
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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