#524AAA#524AAA

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

Color values

HEX#524AAA
RGBrgb(82, 74, 170)
HSLhsl(245, 39%, 48%)
HSVhsv(245, 56%, 67%)
CMYKcmyk(51.8%, 56.5%, 0%, 33.3%)
CIE-LABlab(37.10, 29.92, -50.70)
CIE-LCHlch(37.10, 58.87, 300.55°)
OKLaboklab(47% 0.033 -0.1449)
OKLCHoklch(47% 0.149 282.8)
XYZxyz(13.1820, 9.5930, 39.1795)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524AAA #A2AA4A
analogous
#4A72AA #524AAA #824AAA
triadic
#524AAA #AA524A #4AAA52
tetradic
#524AAA #AA4A72 #A2AA4A #4AAA82
square
#524AAA #AA4A72 #A2AA4A #4AAA82
split-complementary
#524AAA #AA824A #72AA4A
monochromatic
#292555 #3D377F #524AAA #7770C1 #A09BD3

Accessibility & contrast

On white

7.19
#524AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#524AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524AAA
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524AAA#FFFFFF#000000##FFFFFF
##524AAA1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085AAD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#2F6073
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #524aaa;
/* rgb */ color: rgb(82, 74, 170);
/* oklch */ color: oklch(47.0% 0.149 282.8);
Tailwind
colors: {
  custom: {
    50: '#897dc4',
    500: '#524aaa',
    950: '#000000',
  },
}
SCSS
$custom: #524aaa;
$custom-light: #897dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#524aaa",
  "rgb": {
    "r": 82,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 245,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46995,
    "c": 0.14865,
    "h": 282.8
  },
  "luminance": 0.09594
}

Semantic roles & 50–950 ramp

primary
#524AAA
secondary
#BCC090
accent
#CF59C5
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #524AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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