#524AC4#524AC4

#524AC4 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.0% C 0.184 H 280.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#524AC4
RGBrgb(82, 74, 196)
HSLhsl(244, 51%, 53%)
HSVhsv(244, 62%, 77%)
CMYKcmyk(58.2%, 62.2%, 0%, 23.1%)
CIE-LABlab(39.03, 38.24, -62.88)
CIE-LCHlch(39.03, 73.60, 301.31°)
OKLaboklab(49.02% 0.0323 -0.1808)
OKLCHoklch(49.02% 0.184 280.1)
XYZxyz(15.8891, 10.6758, 53.4372)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524AC4 #BCC44A
analogous
#4A7FC4 #524AC4 #8F4AC4
triadic
#524AC4 #C4524A #4AC452
tetradic
#524AC4 #C44A7F #BCC44A #4AC48F
square
#524AC4 #C44A7F #BCC44A #4AC48F
split-complementary
#524AC4 #C48F4A #7FC44A
monochromatic
#29246F #3A339D #524AC4 #7E78D3 #AAA6E2

Accessibility & contrast

On white

6.70
#524AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#524AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524AC4
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524AC4#FFFFFF#000000##FFFFFF
##524AC41.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#076880
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #524ac4;
/* rgb */ color: rgb(82, 74, 196);
/* oklch */ color: oklch(49.0% 0.184 280.1);
Tailwind
colors: {
  custom: {
    50: '#8e7dd7',
    500: '#524ac4',
    950: '#000000',
  },
}
SCSS
$custom: #524ac4;
$custom-light: #8e7dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#524ac4",
  "rgb": {
    "r": 82,
    "g": 74,
    "b": 196
  },
  "hsl": {
    "h": 243.934,
    "s": 50.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49023,
    "c": 0.18363,
    "h": 280.1
  },
  "luminance": 0.10677
}

Semantic roles & 50–950 ramp

primary
#524AC4
secondary
#CCCF9B
accent
#DA4DD1
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #524AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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