#5C548D#5C548D

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

Color values

HEX#5C548D
RGBrgb(92, 84, 141)
HSLhsl(248, 25%, 44%)
HSVhsv(248, 40%, 55%)
CMYKcmyk(34.8%, 40.4%, 0%, 44.7%)
CIE-LABlab(38.79, 17.35, -30.52)
CIE-LCHlch(38.79, 35.11, 299.62°)
OKLaboklab(47.91% 0.0294 -0.0855)
OKLCHoklch(47.91% 0.09 289)
XYZxyz(12.3904, 10.5387, 26.5755)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C548D #858D54
analogous
#54698D #5C548D #79548D
triadic
#5C548D #8D5C54 #548D5C
tetradic
#5C548D #8D5469 #858D54 #548D79
square
#5C548D #8D5469 #858D54 #548D79
split-complementary
#5C548D #8D7954 #698D54
monochromatic
#2A2640 #433D67 #5C548D #7B73AB #9F99C2

Accessibility & contrast

On white

6.76
#5C548D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5C548D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C548D
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C548D#FFFFFF#000000##FFFFFF
##5C548D1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425D8F
Deuteranopia (green-blind)
#425A8C
Tritanopia (blue-blind)
#505F6A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5c548d;
/* rgb */ color: rgb(92, 84, 141);
/* oklch */ color: oklch(47.9% 0.090 289.0);
Tailwind
colors: {
  custom: {
    50: '#8c84ae',
    500: '#5c548d',
    950: '#000000',
  },
}
SCSS
$custom: #5c548d;
$custom-light: #8c84ae;
$custom-dark: #000000;
JSON
{
  "hex": "#5c548d",
  "rgb": {
    "r": 92,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 248.421,
    "s": 25.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47914,
    "c": 0.09042,
    "h": 289
  },
  "luminance": 0.10539
}

Semantic roles & 50–950 ramp

primary
#5C548D
secondary
#ABB08D
accent
#C266B5
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #5C548D

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

Preview Lab → · Contrast checker → · Palette generator →

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