#524CD4#524CD4

#524CD4 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.7% C 0.202 H 278.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#524CD4
RGBrgb(82, 76, 212)
HSLhsl(243, 61%, 56%)
HSVhsv(243, 64%, 83%)
CMYKcmyk(61.3%, 64.2%, 0%, 16.9%)
CIE-LABlab(40.76, 42.18, -69.32)
CIE-LCHlch(40.76, 81.14, 301.32°)
OKLaboklab(50.68% 0.0293 -0.1997)
OKLCHoklch(50.68% 0.202 278.3)
XYZxyz(17.9440, 11.7148, 63.5902)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CD4 #CED44C
analogous
#4C8AD4 #524CD4 #964CD4
triadic
#524CD4 #D4524C #4CD452
tetradic
#524CD4 #D44C8A #CED44C #4CD496
square
#524CD4 #D44C8A #CED44C #4CD496
split-complementary
#524CD4 #D4964C #8AD44C
monochromatic
#252086 #322CB7 #524CD4 #827DE0 #B1AFEC

Accessibility & contrast

On white

6.28
#524CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#524CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524CD4
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CD4#FFFFFF#000000##FFFFFF
##524CD41.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#005BD1
Tritanopia (blue-blind)
#006F89
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #524cd4;
/* rgb */ color: rgb(82, 76, 212);
/* oklch */ color: oklch(50.7% 0.202 278.3);
Tailwind
colors: {
  custom: {
    50: '#907fe2',
    500: '#524cd4',
    950: '#000000',
  },
}
SCSS
$custom: #524cd4;
$custom-light: #907fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#524cd4",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 242.647,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50684,
    "c": 0.2018,
    "h": 278.3
  },
  "luminance": 0.11716
}

Semantic roles & 50–950 ramp

primary
#524CD4
secondary
#D7DAA2
accent
#E443DD
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #524CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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