#524CC8#524CC8

#524CC8 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.7% C 0.186 H 279.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#524CC8
RGBrgb(82, 76, 200)
HSLhsl(243, 53%, 54%)
HSVhsv(243, 62%, 78%)
CMYKcmyk(59%, 62%, 0%, 21.6%)
CIE-LABlab(39.80, 38.32, -63.95)
CIE-LCHlch(39.80, 74.55, 300.93°)
OKLaboklab(49.69% 0.0302 -0.1839)
OKLCHoklch(49.69% 0.186 279.3)
XYZxyz(16.4861, 11.1317, 55.9123)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CC8 #C2C84C
analogous
#4C84C8 #524CC8 #904CC8
triadic
#524CC8 #C8524C #4CC852
tetradic
#524CC8 #C84C84 #C2C84C #4CC890
square
#524CC8 #C84C84 #C2C84C #4CC890
split-complementary
#524CC8 #C8904C #84C84C
monochromatic
#282475 #3832A4 #524CC8 #7F7BD6 #ACAAE5

Accessibility & contrast

On white

6.51
#524CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#524CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524CC8
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CC8#FFFFFF#000000##FFFFFF
##524CC81.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #524cc8;
/* rgb */ color: rgb(82, 76, 200);
/* oklch */ color: oklch(49.7% 0.186 279.3);
Tailwind
colors: {
  custom: {
    50: '#8e7eda',
    500: '#524cc8',
    950: '#000000',
  },
}
SCSS
$custom: #524cc8;
$custom-light: #8e7eda;
$custom-dark: #000000;
JSON
{
  "hex": "#524cc8",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 242.903,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49686,
    "c": 0.18636,
    "h": 279.3
  },
  "luminance": 0.11133
}

Semantic roles & 50–950 ramp

primary
#524CC8
secondary
#D0D29E
accent
#DC4BD5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #524CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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