#5D548E#5D548E

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

Color values

HEX#5D548E
RGBrgb(93, 84, 142)
HSLhsl(249, 26%, 44%)
HSVhsv(249, 41%, 56%)
CMYKcmyk(34.5%, 40.8%, 0%, 44.3%)
CIE-LABlab(38.93, 17.93, -30.90)
CIE-LCHlch(38.93, 35.72, 300.13°)
OKLaboklab(48.06% 0.0308 -0.0866)
OKLCHoklch(48.06% 0.092 289.6)
XYZxyz(12.5657, 10.6205, 26.9739)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D548E #858E54
analogous
#54688E #5D548E #7A548E
triadic
#5D548E #8E5D54 #548E5D
tetradic
#5D548E #8E5468 #858E54 #548E7A
square
#5D548E #8E5468 #858E54 #548E7A
split-complementary
#5D548E #8E7A54 #688E54
monochromatic
#2B2741 #443D68 #5D548E #7C73AC #A099C3

Accessibility & contrast

On white

6.72
#5D548E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D548E
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D548E#FFFFFF#000000##FFFFFF
##5D548E1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d548e;
/* rgb */ color: rgb(93, 84, 142);
/* oklch */ color: oklch(48.1% 0.092 289.6);
Tailwind
colors: {
  custom: {
    50: '#8d84af',
    500: '#5d548e',
    950: '#000000',
  },
}
SCSS
$custom: #5d548e;
$custom-light: #8d84af;
$custom-dark: #000000;
JSON
{
  "hex": "#5d548e",
  "rgb": {
    "r": 93,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 249.31,
    "s": 25.664,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4806,
    "c": 0.09192,
    "h": 289.6
  },
  "luminance": 0.10621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D548E

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

Preview Lab → · Contrast checker → · Palette generator →

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