#524AC2#524AC2

#524AC2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.9% C 0.181 H 280.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#524AC2
RGBrgb(82, 74, 194)
HSLhsl(244, 50%, 53%)
HSVhsv(244, 62%, 76%)
CMYKcmyk(57.7%, 61.9%, 0%, 23.9%)
CIE-LABlab(38.87, 37.60, -61.97)
CIE-LCHlch(38.87, 72.48, 301.25°)
OKLaboklab(48.86% 0.0324 -0.1781)
OKLCHoklch(48.86% 0.181 280.3)
XYZxyz(15.6630, 10.5854, 52.2463)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524AC2 #BAC24A
analogous
#4A7EC2 #524AC2 #8E4AC2
triadic
#524AC2 #C2524A #4AC252
tetradic
#524AC2 #C24A7E #BAC24A #4AC28E
square
#524AC2 #C24A7E #BAC24A #4AC28E
split-complementary
#524AC2 #C28E4A #7EC24A
monochromatic
#2A256D #3B349B #524AC2 #7E78D1 #AAA6E1

Accessibility & contrast

On white

6.74
#524AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#524AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524AC2
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524AC2#FFFFFF#000000##FFFFFF
##524AC21.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#0E677F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #524ac2;
/* rgb */ color: rgb(82, 74, 194);
/* oklch */ color: oklch(48.9% 0.181 280.3);
Tailwind
colors: {
  custom: {
    50: '#8d7dd5',
    500: '#524ac2',
    950: '#000000',
  },
}
SCSS
$custom: #524ac2;
$custom-light: #8d7dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#524ac2",
  "rgb": {
    "r": 82,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 244,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.4886,
    "c": 0.18102,
    "h": 280.3
  },
  "luminance": 0.10586
}

Semantic roles & 50–950 ramp

primary
#524AC2
secondary
#CACE9A
accent
#D94FD0
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #524AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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