#524D97#524D97

#524D97 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 46.2% C 0.117 H 283.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#524D97
RGBrgb(82, 77, 151)
HSLhsl(244, 32%, 45%)
HSVhsv(244, 49%, 59%)
CMYKcmyk(45.7%, 49%, 0%, 40.8%)
CIE-LABlab(36.62, 22.03, -40.07)
CIE-LCHlch(36.62, 45.73, 298.80°)
OKLaboklab(46.24% 0.0281 -0.1137)
OKLCHoklch(46.24% 0.117 283.9)
XYZxyz(11.7178, 9.3354, 30.4567)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524D97 #92974D
analogous
#4D6D97 #524D97 #774D97
triadic
#524D97 #97524D #4D9752
tetradic
#524D97 #974D6D #92974D #4D9777
square
#524D97 #974D6D #92974D #4D9777
split-complementary
#524D97 #97774D #6D974D
monochromatic
#262446 #3C386E #524D97 #726DB4 #9995C9

Accessibility & contrast

On white

7.32
#524D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#524D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524D97
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524D97#FFFFFF#000000##FFFFFF
##524D971.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E589A
Deuteranopia (green-blind)
#2B5495
Tritanopia (blue-blind)
#3C5C6B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #524d97;
/* rgb */ color: rgb(82, 77, 151);
/* oklch */ color: oklch(46.2% 0.117 283.9);
Tailwind
colors: {
  custom: {
    50: '#877eb6',
    500: '#524d97',
    950: '#000000',
  },
}
SCSS
$custom: #524d97;
$custom-light: #877eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#524d97",
  "rgb": {
    "r": 82,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 244.054,
    "s": 32.456,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46238,
    "c": 0.11712,
    "h": 283.9
  },
  "luminance": 0.09336
}

Semantic roles & 50–950 ramp

primary
#524D97
secondary
#B3B68A
accent
#C95FC1
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #524D97

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

Preview Lab → · Contrast checker → · Palette generator →

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