#5C548B#5C548B

#5C548B is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.8% C 0.087 H 289.3°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5C548B
RGBrgb(92, 84, 139)
HSLhsl(249, 25%, 44%)
HSVhsv(249, 40%, 55%)
CMYKcmyk(33.8%, 39.6%, 0%, 45.5%)
CIE-LABlab(38.69, 16.78, -29.47)
CIE-LCHlch(38.69, 33.91, 299.66°)
OKLaboklab(47.8% 0.0289 -0.0825)
OKLCHoklch(47.8% 0.087 289.3)
XYZxyz(12.2429, 10.4797, 25.7988)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C548B #838B54
analogous
#54678B #5C548B #77548B
triadic
#5C548B #8B5C54 #548B5C
tetradic
#5C548B #8B5467 #838B54 #548B77
square
#5C548B #8B5467 #838B54 #548B77
split-complementary
#5C548B #8B7754 #678B54
monochromatic
#2A263F #433D65 #5C548B #7A72AA #9E98C1

Accessibility & contrast

On white

6.78
#5C548B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C548B
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C548B#FFFFFF#000000##FFFFFF
##5C548B1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435C8D
Deuteranopia (green-blind)
#435A8A
Tritanopia (blue-blind)
#515E69
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5c548b;
/* rgb */ color: rgb(92, 84, 139);
/* oklch */ color: oklch(47.8% 0.087 289.3);
Tailwind
colors: {
  custom: {
    50: '#8c84ad',
    500: '#5c548b',
    950: '#000000',
  },
}
SCSS
$custom: #5c548b;
$custom-light: #8c84ad;
$custom-dark: #000000;
JSON
{
  "hex": "#5c548b",
  "rgb": {
    "r": 92,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 248.727,
    "s": 24.664,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47802,
    "c": 0.0874,
    "h": 289.3
  },
  "luminance": 0.1048
}

Semantic roles & 50–950 ramp

primary
#5C548B
secondary
#A9AE8D
accent
#C167B4
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #5C548B

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

Preview Lab → · Contrast checker → · Palette generator →

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