#524CD8#524CD8

#524CD8 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.0% C 0.207 H 278.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#524CD8
RGBrgb(82, 76, 216)
HSLhsl(243, 64%, 57%)
HSVhsv(243, 65%, 85%)
CMYKcmyk(62%, 64.8%, 0%, 15.3%)
CIE-LABlab(41.09, 43.46, -71.07)
CIE-LCHlch(41.09, 83.31, 301.45°)
OKLaboklab(51.02% 0.0289 -0.2048)
OKLCHoklch(51.02% 0.207 278)
XYZxyz(18.4548, 11.9191, 66.2805)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CD8 #D2D84C
analogous
#4C8CD8 #524CD8 #984CD8
triadic
#524CD8 #D8524C #4CD852
tetradic
#524CD8 #D84C8C #D2D84C #4CD898
square
#524CD8 #D84C8C #D2D84C #4CD898
split-complementary
#524CD8 #D8984C #8CD84C
monochromatic
#231E8B #3029BE #524CD8 #837EE3 #B3B1EE

Accessibility & contrast

On white

6.21
#524CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#524CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524CD8
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CD8#FFFFFF#000000##FFFFFF
##524CD81.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#005BD5
Tritanopia (blue-blind)
#00708B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #524cd8;
/* rgb */ color: rgb(82, 76, 216);
/* oklch */ color: oklch(51.0% 0.207 278.0);
Tailwind
colors: {
  custom: {
    50: '#917fe5',
    500: '#524cd8',
    950: '#000000',
  },
}
SCSS
$custom: #524cd8;
$custom-light: #917fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#524cd8",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 242.571,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51024,
    "c": 0.20685,
    "h": 278
  },
  "luminance": 0.11921
}

Semantic roles & 50–950 ramp

primary
#524CD8
secondary
#DADCA4
accent
#E741E0
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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