#5B548D#5B548D

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

Color values

HEX#5B548D
RGBrgb(91, 84, 141)
HSLhsl(247, 25%, 44%)
HSVhsv(247, 40%, 55%)
CMYKcmyk(35.5%, 40.4%, 0%, 44.7%)
CIE-LABlab(38.70, 17.05, -30.66)
CIE-LCHlch(38.70, 35.09, 299.08°)
OKLaboklab(47.82% 0.0281 -0.086)
OKLCHoklch(47.82% 0.09 288.1)
XYZxyz(12.2911, 10.4876, 26.5709)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B548D #868D54
analogous
#546A8D #5B548D #78548D
triadic
#5B548D #8D5B54 #548D5B
tetradic
#5B548D #8D546A #868D54 #548D78
square
#5B548D #8D546A #868D54 #548D78
split-complementary
#5B548D #8D7854 #6A8D54
monochromatic
#292640 #423D67 #5B548D #7A73AB #9E99C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B548D#FFFFFF#000000##FFFFFF
##5B548D1.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)
#425C8F
Deuteranopia (green-blind)
#425A8C
Tritanopia (blue-blind)
#4E5F6A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5b548d;
/* rgb */ color: rgb(91, 84, 141);
/* oklch */ color: oklch(47.8% 0.090 288.1);
Tailwind
colors: {
  custom: {
    50: '#8b84ae',
    500: '#5b548d',
    950: '#000000',
  },
}
SCSS
$custom: #5b548d;
$custom-light: #8b84ae;
$custom-dark: #000000;
JSON
{
  "hex": "#5b548d",
  "rgb": {
    "r": 91,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 247.368,
    "s": 25.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47824,
    "c": 0.09045,
    "h": 288.1
  },
  "luminance": 0.10488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B548D

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

Preview Lab → · Contrast checker → · Palette generator →

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