#5C548C#5C548C

#5C548C is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.9% C 0.089 H 289.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5C548C
RGBrgb(92, 84, 140)
HSLhsl(249, 25%, 44%)
HSVhsv(249, 40%, 55%)
CMYKcmyk(34.3%, 40%, 0%, 45.1%)
CIE-LABlab(38.74, 17.06, -29.99)
CIE-LCHlch(38.74, 34.51, 299.64°)
OKLaboklab(47.86% 0.0292 -0.084)
OKLCHoklch(47.86% 0.089 289.1)
XYZxyz(12.3163, 10.5091, 26.1854)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C548C #848C54
analogous
#54688C #5C548C #78548C
triadic
#5C548C #8C5C54 #548C5C
tetradic
#5C548C #8C5468 #848C54 #548C78
square
#5C548C #8C5468 #848C54 #548C78
split-complementary
#5C548C #8C7854 #688C54
monochromatic
#2A2640 #433D66 #5C548C #7B73AB #9F99C2

Accessibility & contrast

On white

6.77
#5C548C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5C548C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C548C
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C548C#FFFFFF#000000##FFFFFF
##5C548C1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435C8E
Deuteranopia (green-blind)
#435A8B
Tritanopia (blue-blind)
#505E69
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5c548c;
/* rgb */ color: rgb(92, 84, 140);
/* oklch */ color: oklch(47.9% 0.089 289.1);
Tailwind
colors: {
  custom: {
    50: '#8c84ae',
    500: '#5c548c',
    950: '#000000',
  },
}
SCSS
$custom: #5c548c;
$custom-light: #8c84ae;
$custom-dark: #000000;
JSON
{
  "hex": "#5c548c",
  "rgb": {
    "r": 92,
    "g": 84,
    "b": 140
  },
  "hsl": {
    "h": 248.571,
    "s": 25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47858,
    "c": 0.08891,
    "h": 289.1
  },
  "luminance": 0.10509
}

Semantic roles & 50–950 ramp

primary
#5C548C
secondary
#AAAF8D
accent
#C166B4
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #5C548C

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

Preview Lab → · Contrast checker → · Palette generator →

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