#524CD7#524CD7

#524CD7 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 50.9% C 0.206 H 278.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#524CD7
RGBrgb(82, 76, 215)
HSLhsl(243, 63%, 57%)
HSVhsv(243, 65%, 84%)
CMYKcmyk(61.9%, 64.7%, 0%, 15.7%)
CIE-LABlab(41.00, 43.14, -70.64)
CIE-LCHlch(41.00, 82.77, 301.42°)
OKLaboklab(50.94% 0.029 -0.2035)
OKLCHoklch(50.94% 0.206 278.1)
XYZxyz(18.3259, 11.8676, 65.6018)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CD7 #D1D74C
analogous
#4C8CD7 #524CD7 #984CD7
triadic
#524CD7 #D7524C #4CD752
tetradic
#524CD7 #D74C8C #D1D74C #4CD798
square
#524CD7 #D74C8C #D1D74C #4CD798
split-complementary
#524CD7 #D7984C #8CD74C
monochromatic
#231F8A #302ABC #524CD7 #827EE2 #B3B0ED

Accessibility & contrast

On white

6.22
#524CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#524CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524CD7
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CD7#FFFFFF#000000##FFFFFF
##524CD71.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DB
Deuteranopia (green-blind)
#005BD4
Tritanopia (blue-blind)
#00708B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #524cd7;
/* rgb */ color: rgb(82, 76, 215);
/* oklch */ color: oklch(50.9% 0.206 278.1);
Tailwind
colors: {
  custom: {
    50: '#917fe4',
    500: '#524cd7',
    950: '#000000',
  },
}
SCSS
$custom: #524cd7;
$custom-light: #917fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#524cd7",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 242.59,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50938,
    "c": 0.20559,
    "h": 278.1
  },
  "luminance": 0.11869
}

Semantic roles & 50–950 ramp

primary
#524CD7
secondary
#D9DCA3
accent
#E641DF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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