#524C8A#524C8A

#524C8A is a mid, moderate blue. Relative luminance 0.088; OKLCH L 45.2% C 0.099 H 286.1°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#524C8A
RGBrgb(82, 76, 138)
HSLhsl(246, 29%, 42%)
HSVhsv(246, 45%, 54%)
CMYKcmyk(40.6%, 44.9%, 0%, 45.9%)
CIE-LABlab(35.59, 18.68, -33.81)
CIE-LCHlch(35.59, 38.62, 298.92°)
OKLaboklab(45.21% 0.0276 -0.0954)
OKLCHoklch(45.21% 0.099 286.1)
XYZxyz(10.6503, 8.7973, 25.1767)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524C8A #848A4C
analogous
#4C658A #524C8A #714C8A
triadic
#524C8A #8A524C #4C8A52
tetradic
#524C8A #8A4C65 #848A4C #4C8A71
square
#524C8A #8A4C65 #848A4C #4C8A71
split-complementary
#524C8A #8A714C #658A4C
monochromatic
#23213B #3B3663 #524C8A #6E68AC #948FC1

Accessibility & contrast

On white

7.61
#524C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#524C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524C8A
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524C8A#FFFFFF#000000##FFFFFF
##524C8A1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36558C
Deuteranopia (green-blind)
#355289
Tritanopia (blue-blind)
#425864
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #524c8a;
/* rgb */ color: rgb(82, 76, 138);
/* oklch */ color: oklch(45.2% 0.099 286.1);
Tailwind
colors: {
  custom: {
    50: '#857eac',
    500: '#524c8a',
    950: '#000000',
  },
}
SCSS
$custom: #524c8a;
$custom-light: #857eac;
$custom-dark: #000000;
JSON
{
  "hex": "#524c8a",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 245.806,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4521,
    "c": 0.09927,
    "h": 286.1
  },
  "luminance": 0.08798
}

Semantic roles & 50–950 ramp

primary
#524C8A
secondary
#AAAE84
accent
#C563BC
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #524C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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