#524C97#524C97

#524C97 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 46.0% C 0.119 H 284.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#524C97
RGBrgb(82, 76, 151)
HSLhsl(245, 33%, 45%)
HSVhsv(245, 50%, 59%)
CMYKcmyk(45.7%, 49.7%, 0%, 40.8%)
CIE-LABlab(36.36, 22.67, -40.49)
CIE-LCHlch(36.36, 46.40, 299.24°)
OKLaboklab(46.04% 0.0294 -0.1149)
OKLCHoklch(46.04% 0.119 284.3)
XYZxyz(11.6484, 9.1966, 30.4335)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524C97 #91974C
analogous
#4C6C97 #524C97 #784C97
triadic
#524C97 #97524C #4C9752
tetradic
#524C97 #974C6C #91974C #4C9778
square
#524C97 #974C6C #91974C #4C9778
split-complementary
#524C97 #97784C #6C974C
monochromatic
#262346 #3C386E #524C97 #716BB5 #9894C9

Accessibility & contrast

On white

7.40
#524C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#524C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524C97
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524C97#FFFFFF#000000##FFFFFF
##524C971.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589A
Deuteranopia (green-blind)
#295395
Tritanopia (blue-blind)
#3C5C6A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #524c97;
/* rgb */ color: rgb(82, 76, 151);
/* oklch */ color: oklch(46.0% 0.119 284.3);
Tailwind
colors: {
  custom: {
    50: '#877eb6',
    500: '#524c97',
    950: '#000000',
  },
}
SCSS
$custom: #524c97;
$custom-light: #877eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#524c97",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 244.8,
    "s": 33.04,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4604,
    "c": 0.11863,
    "h": 284.3
  },
  "luminance": 0.09197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #524C97

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

Preview Lab → · Contrast checker → · Palette generator →

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