#524CC9#524CC9

#524CC9 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.8% C 0.188 H 279.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#524CC9
RGBrgb(82, 76, 201)
HSLhsl(243, 54%, 54%)
HSVhsv(243, 62%, 79%)
CMYKcmyk(59.2%, 62.2%, 0%, 21.2%)
CIE-LABlab(39.88, 38.64, -64.40)
CIE-LCHlch(39.88, 75.11, 300.97°)
OKLaboklab(49.77% 0.0301 -0.1852)
OKLCHoklch(49.77% 0.188 279.2)
XYZxyz(16.6034, 11.1786, 56.5298)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CC9 #C3C94C
analogous
#4C85C9 #524CC9 #914CC9
triadic
#524CC9 #C9524C #4CC952
tetradic
#524CC9 #C94C85 #C3C94C #4CC991
square
#524CC9 #C94C85 #C3C94C #4CC991
split-complementary
#524CC9 #C9914C #85C94C
monochromatic
#282477 #3832A6 #524CC9 #7F7BD7 #ADAAE5

Accessibility & contrast

On white

6.49
#524CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#524CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524CC9
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CC9#FFFFFF#000000##FFFFFF
##524CC91.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CD
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#006B83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #524cc9;
/* rgb */ color: rgb(82, 76, 201);
/* oklch */ color: oklch(49.8% 0.188 279.2);
Tailwind
colors: {
  custom: {
    50: '#8e7eda',
    500: '#524cc9',
    950: '#000000',
  },
}
SCSS
$custom: #524cc9;
$custom-light: #8e7eda;
$custom-dark: #000000;
JSON
{
  "hex": "#524cc9",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 201
  },
  "hsl": {
    "h": 242.88,
    "s": 53.648,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49768,
    "c": 0.18767,
    "h": 279.2
  },
  "luminance": 0.1118
}

Semantic roles & 50–950 ramp

primary
#524CC9
secondary
#D0D39E
accent
#DD4BD6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #524CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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