#524CDF#524CDF

#524CDF is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.6% C 0.216 H 277.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#524CDF
RGBrgb(82, 76, 223)
HSLhsl(242, 70%, 59%)
HSVhsv(242, 66%, 87%)
CMYKcmyk(63.2%, 65.9%, 0%, 12.5%)
CIE-LABlab(41.67, 45.70, -74.12)
CIE-LCHlch(41.67, 87.08, 301.66°)
OKLaboklab(51.63% 0.0282 -0.2137)
OKLCHoklch(51.63% 0.216 277.5)
XYZxyz(19.3791, 12.2889, 71.1485)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CDF #D9DF4C
analogous
#4C8FDF #524CDF #9B4CDF
triadic
#524CDF #DF524C #4CDF52
tetradic
#524CDF #DF4C8F #D9DF4C #4CDF9B
square
#524CDF #DF4C8F #D9DF4C #4CDF9B
split-complementary
#524CDF #DF9B4C #8FDF4C
monochromatic
#201B96 #2B24CA #524CDF #8480E8 #B6B4F2

Accessibility & contrast

On white

6.07
#524CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#524CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524CDF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CDF#FFFFFF#000000##FFFFFF
##524CDF1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#005CDC
Tritanopia (blue-blind)
#00728F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #524cdf;
/* rgb */ color: rgb(82, 76, 223);
/* oklch */ color: oklch(51.6% 0.216 277.5);
Tailwind
colors: {
  custom: {
    50: '#927fea',
    500: '#524cdf',
    950: '#000000',
  },
}
SCSS
$custom: #524cdf;
$custom-light: #927fea;
$custom-dark: #000000;
JSON
{
  "hex": "#524cdf",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 242.449,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51628,
    "c": 0.2156,
    "h": 277.5
  },
  "luminance": 0.1229
}

Semantic roles & 50–950 ramp

primary
#524CDF
secondary
#DEE0A6
accent
#EC3BE5
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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