#5C548F#5C548F

#5C548F is a mid, moderate blue. Relative luminance 0.106; OKLCH L 48.0% C 0.093 H 288.6°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5C548F
RGBrgb(92, 84, 143)
HSLhsl(248, 26%, 45%)
HSVhsv(248, 41%, 56%)
CMYKcmyk(35.7%, 41.3%, 0%, 43.9%)
CIE-LABlab(38.90, 17.92, -31.57)
CIE-LCHlch(38.90, 36.30, 299.59°)
OKLaboklab(48.03% 0.0298 -0.0886)
OKLCHoklch(48.03% 0.093 288.6)
XYZxyz(12.5406, 10.5988, 27.3663)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C548F #878F54
analogous
#546A8F #5C548F #7A548F
triadic
#5C548F #8F5C54 #548F5C
tetradic
#5C548F #8F546A #878F54 #548F7A
square
#5C548F #8F546A #878F54 #548F7A
split-complementary
#5C548F #8F7A54 #6A8F54
monochromatic
#2A2742 #433D68 #5C548F #7B73AD #9F9AC4

Accessibility & contrast

On white

6.73
#5C548F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5C548F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C548F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C548F#FFFFFF#000000##FFFFFF
##5C548F1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415D91
Deuteranopia (green-blind)
#415A8E
Tritanopia (blue-blind)
#4F5F6A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5c548f;
/* rgb */ color: rgb(92, 84, 143);
/* oklch */ color: oklch(48.0% 0.093 288.6);
Tailwind
colors: {
  custom: {
    50: '#8c84b0',
    500: '#5c548f',
    950: '#000000',
  },
}
SCSS
$custom: #5c548f;
$custom-light: #8c84b0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c548f",
  "rgb": {
    "r": 92,
    "g": 84,
    "b": 143
  },
  "hsl": {
    "h": 248.136,
    "s": 25.991,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48027,
    "c": 0.09344,
    "h": 288.6
  },
  "luminance": 0.10599
}

Semantic roles & 50–950 ramp

primary
#5C548F
secondary
#ACB18E
accent
#C265B6
background
#F8F8FA
surface
#F0EFF5
border
#CBCACF
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #5C548F

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

Preview Lab → · Contrast checker → · Palette generator →

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