#524DC9#524DC9

#524DC9 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.9% C 0.186 H 279.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#524DC9
RGBrgb(82, 77, 201)
HSLhsl(242, 53%, 55%)
HSVhsv(242, 62%, 79%)
CMYKcmyk(59.2%, 61.7%, 0%, 21.2%)
CIE-LABlab(40.11, 38.04, -64.02)
CIE-LCHlch(40.11, 74.47, 300.72°)
OKLaboklab(49.94% 0.0292 -0.1841)
OKLCHoklch(49.94% 0.186 279)
XYZxyz(16.6728, 11.3174, 56.5529)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524DC9 #C4C94D
analogous
#4D86C9 #524DC9 #904DC9
triadic
#524DC9 #C9524D #4DC952
tetradic
#524DC9 #C94D86 #C4C94D #4DC990
square
#524DC9 #C94D86 #C4C94D #4DC990
split-complementary
#524DC9 #C9904D #86C94D
monochromatic
#282477 #3732A6 #524DC9 #807CD7 #ADABE5

Accessibility & contrast

On white

6.43
#524DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#524DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524DC9
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524DC9#FFFFFF#000000##FFFFFF
##524DC91.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CD
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#006C84
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #524dc9;
/* rgb */ color: rgb(82, 77, 201);
/* oklch */ color: oklch(49.9% 0.186 279.0);
Tailwind
colors: {
  custom: {
    50: '#8e7fda',
    500: '#524dc9',
    950: '#000000',
  },
}
SCSS
$custom: #524dc9;
$custom-light: #8e7fda;
$custom-dark: #000000;
JSON
{
  "hex": "#524dc9",
  "rgb": {
    "r": 82,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 242.419,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49937,
    "c": 0.18643,
    "h": 279
  },
  "luminance": 0.11319
}

Semantic roles & 50–950 ramp

primary
#524DC9
secondary
#D1D39F
accent
#DD4BD7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #524DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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