#5C548E#5C548E

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

Color values

HEX#5C548E
RGBrgb(92, 84, 142)
HSLhsl(248, 26%, 44%)
HSVhsv(248, 41%, 56%)
CMYKcmyk(35.2%, 40.8%, 0%, 44.3%)
CIE-LABlab(38.84, 17.64, -31.04)
CIE-LCHlch(38.84, 35.70, 299.60°)
OKLaboklab(47.97% 0.0296 -0.087)
OKLCHoklch(47.97% 0.092 288.8)
XYZxyz(12.4651, 10.5686, 26.9691)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C548E #868E54
analogous
#54698E #5C548E #79548E
triadic
#5C548E #8E5C54 #548E5C
tetradic
#5C548E #8E5469 #868E54 #548E79
square
#5C548E #8E5469 #868E54 #548E79
split-complementary
#5C548E #8E7954 #698E54
monochromatic
#2A2741 #433D68 #5C548E #7B73AC #9F99C3

Accessibility & contrast

On white

6.74
#5C548E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C548E
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C548E#FFFFFF#000000##FFFFFF
##5C548E1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c548e;
/* rgb */ color: rgb(92, 84, 142);
/* oklch */ color: oklch(48.0% 0.092 288.8);
Tailwind
colors: {
  custom: {
    50: '#8c84af',
    500: '#5c548e',
    950: '#000000',
  },
}
SCSS
$custom: #5c548e;
$custom-light: #8c84af;
$custom-dark: #000000;
JSON
{
  "hex": "#5c548e",
  "rgb": {
    "r": 92,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 248.276,
    "s": 25.664,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4797,
    "c": 0.09194,
    "h": 288.8
  },
  "luminance": 0.10569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C548E

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

Preview Lab → · Contrast checker → · Palette generator →

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