#524D8A#524D8A

#524D8A is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.4% C 0.098 H 285.6°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#524D8A
RGBrgb(82, 77, 138)
HSLhsl(245, 28%, 42%)
HSVhsv(245, 44%, 54%)
CMYKcmyk(40.6%, 44.2%, 0%, 45.9%)
CIE-LABlab(35.86, 18.04, -33.38)
CIE-LCHlch(35.86, 37.94, 298.38°)
OKLaboklab(45.42% 0.0262 -0.0941)
OKLCHoklch(45.42% 0.098 285.6)
XYZxyz(10.7197, 8.9362, 25.1999)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524D8A #858A4D
analogous
#4D678A #524D8A #714D8A
triadic
#524D8A #8A524D #4D8A52
tetradic
#524D8A #8A4D67 #858A4D #4D8A71
square
#524D8A #8A4D67 #858A4D #4D8A71
split-complementary
#524D8A #8A714D #678A4D
monochromatic
#23213B #3B3763 #524D8A #6E69AB #9490C1

Accessibility & contrast

On white

7.53
#524D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#524D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524D8A
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524D8A#FFFFFF#000000##FFFFFF
##524D8A1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38568C
Deuteranopia (green-blind)
#365389
Tritanopia (blue-blind)
#425965
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #524d8a;
/* rgb */ color: rgb(82, 77, 138);
/* oklch */ color: oklch(45.4% 0.098 285.6);
Tailwind
colors: {
  custom: {
    50: '#857eac',
    500: '#524d8a',
    950: '#000000',
  },
}
SCSS
$custom: #524d8a;
$custom-light: #857eac;
$custom-dark: #000000;
JSON
{
  "hex": "#524d8a",
  "rgb": {
    "r": 82,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 244.918,
    "s": 28.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45415,
    "c": 0.09768,
    "h": 285.6
  },
  "luminance": 0.08937
}

Semantic roles & 50–950 ramp

primary
#524D8A
secondary
#AAAE85
accent
#C563BD
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #524D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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