#524CD2#524CD2

#524CD2 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.5% C 0.199 H 278.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#524CD2
RGBrgb(82, 76, 210)
HSLhsl(243, 60%, 56%)
HSVhsv(243, 64%, 82%)
CMYKcmyk(61%, 63.8%, 0%, 17.6%)
CIE-LABlab(40.60, 41.54, -68.43)
CIE-LCHlch(40.60, 80.05, 301.26°)
OKLaboklab(50.52% 0.0295 -0.1971)
OKLCHoklch(50.52% 0.199 278.5)
XYZxyz(17.6932, 11.6145, 62.2697)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CD2 #CCD24C
analogous
#4C89D2 #524CD2 #954CD2
triadic
#524CD2 #D2524C #4CD252
tetradic
#524CD2 #D24C89 #CCD24C #4CD295
square
#524CD2 #D24C89 #CCD24C #4CD295
split-complementary
#524CD2 #D2954C #89D24C
monochromatic
#252183 #332DB4 #524CD2 #817DDE #B1AEEB

Accessibility & contrast

On white

6.32
#524CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#524CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524CD2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CD2#FFFFFF#000000##FFFFFF
##524CD21.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#005ACF
Tritanopia (blue-blind)
#006E88
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #524cd2;
/* rgb */ color: rgb(82, 76, 210);
/* oklch */ color: oklch(50.5% 0.199 278.5);
Tailwind
colors: {
  custom: {
    50: '#907fe1',
    500: '#524cd2',
    950: '#000000',
  },
}
SCSS
$custom: #524cd2;
$custom-light: #907fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#524cd2",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 242.687,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50515,
    "c": 0.19925,
    "h": 278.5
  },
  "luminance": 0.11616
}

Semantic roles & 50–950 ramp

primary
#524CD2
secondary
#D6D9A1
accent
#E345DC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #524CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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