#524CD3#524CD3

#524CD3 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.6% C 0.201 H 278.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#524CD3
RGBrgb(82, 76, 211)
HSLhsl(243, 61%, 56%)
HSVhsv(243, 64%, 83%)
CMYKcmyk(61.1%, 64%, 0%, 17.3%)
CIE-LABlab(40.68, 41.86, -68.87)
CIE-LCHlch(40.68, 80.60, 301.29°)
OKLaboklab(50.6% 0.0294 -0.1984)
OKLCHoklch(50.6% 0.201 278.4)
XYZxyz(17.8182, 11.6645, 62.9279)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CD3 #CDD34C
analogous
#4C8AD3 #524CD3 #964CD3
triadic
#524CD3 #D3524C #4CD352
tetradic
#524CD3 #D34C8A #CDD34C #4CD396
square
#524CD3 #D34C8A #CDD34C #4CD396
split-complementary
#524CD3 #D3964C #8AD34C
monochromatic
#252084 #332DB5 #524CD3 #817DDF #B1AEEB

Accessibility & contrast

On white

6.30
#524CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#524CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524CD3
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CD3#FFFFFF#000000##FFFFFF
##524CD31.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#005AD0
Tritanopia (blue-blind)
#006E89
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #524cd3;
/* rgb */ color: rgb(82, 76, 211);
/* oklch */ color: oklch(50.6% 0.201 278.4);
Tailwind
colors: {
  custom: {
    50: '#907fe2',
    500: '#524cd3',
    950: '#000000',
  },
}
SCSS
$custom: #524cd3;
$custom-light: #907fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#524cd3",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 242.667,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50599,
    "c": 0.20052,
    "h": 278.4
  },
  "luminance": 0.11666
}

Semantic roles & 50–950 ramp

primary
#524CD3
secondary
#D7D9A2
accent
#E444DD
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #524CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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