#5C548A#5C548A

#5C548A is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.7% C 0.086 H 289.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#5C548A
RGBrgb(92, 84, 138)
HSLhsl(249, 24%, 44%)
HSVhsv(249, 39%, 54%)
CMYKcmyk(33.3%, 39.1%, 0%, 45.9%)
CIE-LABlab(38.64, 16.50, -28.94)
CIE-LCHlch(38.64, 33.31, 299.69°)
OKLaboklab(47.75% 0.0287 -0.0809)
OKLCHoklch(47.75% 0.086 289.5)
XYZxyz(12.1702, 10.4507, 25.4158)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C548A #828A54
analogous
#54678A #5C548A #77548A
triadic
#5C548A #8A5C54 #548A5C
tetradic
#5C548A #8A5467 #828A54 #548A77
square
#5C548A #8A5467 #828A54 #548A77
split-complementary
#5C548A #8A7754 #678A54
monochromatic
#29263E #433D64 #5C548A #7A72A9 #9E98C0

Accessibility & contrast

On white

6.80
#5C548A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5C548A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C548A
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C548A#FFFFFF#000000##FFFFFF
##5C548A1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445C8C
Deuteranopia (green-blind)
#445A89
Tritanopia (blue-blind)
#515E68
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5c548a;
/* rgb */ color: rgb(92, 84, 138);
/* oklch */ color: oklch(47.7% 0.086 289.5);
Tailwind
colors: {
  custom: {
    50: '#8c84ac',
    500: '#5c548a',
    950: '#000000',
  },
}
SCSS
$custom: #5c548a;
$custom-light: #8c84ac;
$custom-dark: #000000;
JSON
{
  "hex": "#5c548a",
  "rgb": {
    "r": 92,
    "g": 84,
    "b": 138
  },
  "hsl": {
    "h": 248.889,
    "s": 24.324,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47747,
    "c": 0.08588,
    "h": 289.5
  },
  "luminance": 0.10451
}

Semantic roles & 50–950 ramp

primary
#5C548A
secondary
#A9AE8C
accent
#C167B3
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #5C548A

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

Preview Lab → · Contrast checker → · Palette generator →

#5C548A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva