#524ACB#524ACB

#524ACB is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.6% C 0.193 H 279.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#524ACB
RGBrgb(82, 74, 203)
HSLhsl(244, 55%, 54%)
HSVhsv(244, 64%, 80%)
CMYKcmyk(59.6%, 63.5%, 0%, 20.4%)
CIE-LABlab(39.58, 40.49, -66.04)
CIE-LCHlch(39.58, 77.46, 301.51°)
OKLaboklab(49.6% 0.0318 -0.1901)
OKLCHoklch(49.6% 0.193 279.5)
XYZxyz(16.7045, 11.0020, 57.7317)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524ACB #C3CB4A
analogous
#4A83CB #524ACB #934ACB
triadic
#524ACB #CB524A #4ACB52
tetradic
#524ACB #CB4A83 #C3CB4A #4ACB93
square
#524ACB #CB4A83 #C3CB4A #4ACB93
split-complementary
#524ACB #CB934A #83CB4A
monochromatic
#282378 #3830A8 #524ACB #7F7AD9 #ADA9E6

Accessibility & contrast

On white

6.56
#524ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#524ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524ACB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524ACB#FFFFFF#000000##FFFFFF
##524ACB1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #524acb;
/* rgb */ color: rgb(82, 74, 203);
/* oklch */ color: oklch(49.6% 0.193 279.5);
Tailwind
colors: {
  custom: {
    50: '#8f7ddc',
    500: '#524acb',
    950: '#000000',
  },
}
SCSS
$custom: #524acb;
$custom-light: #8f7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#524acb",
  "rgb": {
    "r": 82,
    "g": 74,
    "b": 203
  },
  "hsl": {
    "h": 243.721,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49601,
    "c": 0.1927,
    "h": 279.5
  },
  "luminance": 0.11003
}

Semantic roles & 50–950 ramp

primary
#524ACB
secondary
#D0D49D
accent
#DF49D5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #524ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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