#524CA4#524CA4

#524CA4 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.9% C 0.137 H 282.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#524CA4
RGBrgb(82, 76, 164)
HSLhsl(244, 37%, 47%)
HSVhsv(244, 54%, 64%)
CMYKcmyk(50%, 53.7%, 0%, 35.7%)
CIE-LABlab(37.19, 26.76, -46.97)
CIE-LCHlch(37.19, 54.06, 299.67°)
OKLaboklab(46.93% 0.0305 -0.134)
OKLCHoklch(46.93% 0.137 282.8)
XYZxyz(12.7629, 9.6424, 36.3034)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CA4 #9EA44C
analogous
#4C72A4 #524CA4 #7E4CA4
triadic
#524CA4 #A4524C #4CA452
tetradic
#524CA4 #A44C72 #9EA44C #4CA47E
square
#524CA4 #A44C72 #9EA44C #4CA47E
split-complementary
#524CA4 #A47E4C #72A44C
monochromatic
#282550 #3D397A #524CA4 #7670BD #9E9AD0

Accessibility & contrast

On white

7.17
#524CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#524CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524CA4
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CA4#FFFFFF#000000##FFFFFF
##524CA41.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5AA7
Deuteranopia (green-blind)
#1755A2
Tritanopia (blue-blind)
#345F70
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #524ca4;
/* rgb */ color: rgb(82, 76, 164);
/* oklch */ color: oklch(46.9% 0.137 282.8);
Tailwind
colors: {
  custom: {
    50: '#897ebf',
    500: '#524ca4',
    950: '#000000',
  },
}
SCSS
$custom: #524ca4;
$custom-light: #897ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#524ca4",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 164
  },
  "hsl": {
    "h": 244.091,
    "s": 36.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46932,
    "c": 0.13739,
    "h": 282.8
  },
  "luminance": 0.09643
}

Semantic roles & 50–950 ramp

primary
#524CA4
secondary
#BABD8F
accent
#CD5BC5
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #524CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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