#5B548E#5B548E

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

Color values

HEX#5B548E
RGBrgb(91, 84, 142)
HSLhsl(247, 26%, 44%)
HSVhsv(247, 41%, 56%)
CMYKcmyk(35.9%, 40.8%, 0%, 44.3%)
CIE-LABlab(38.76, 17.34, -31.19)
CIE-LCHlch(38.76, 35.69, 299.07°)
OKLaboklab(47.88% 0.0283 -0.0875)
OKLCHoklch(47.88% 0.092 287.9)
XYZxyz(12.3659, 10.5175, 26.9645)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B548E #878E54
analogous
#546A8E #5B548E #78548E
triadic
#5B548E #8E5B54 #548E5B
tetradic
#5B548E #8E546A #878E54 #548E78
square
#5B548E #8E546A #878E54 #548E78
split-complementary
#5B548E #8E7854 #6A8E54
monochromatic
#2A2741 #423D68 #5B548E #7A73AC #9E99C3

Accessibility & contrast

On white

6.77
#5B548E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B548E
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B548E#FFFFFF#000000##FFFFFF
##5B548E1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425D90
Deuteranopia (green-blind)
#415A8D
Tritanopia (blue-blind)
#4E5F6A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5b548e;
/* rgb */ color: rgb(91, 84, 142);
/* oklch */ color: oklch(47.9% 0.092 287.9);
Tailwind
colors: {
  custom: {
    50: '#8b84af',
    500: '#5b548e',
    950: '#000000',
  },
}
SCSS
$custom: #5b548e;
$custom-light: #8b84af;
$custom-dark: #000000;
JSON
{
  "hex": "#5b548e",
  "rgb": {
    "r": 91,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 247.241,
    "s": 25.664,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47881,
    "c": 0.09197,
    "h": 287.9
  },
  "luminance": 0.10518
}

Semantic roles & 50–950 ramp

primary
#5B548E
secondary
#ACB08E
accent
#C266B7
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #5B548E

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

Preview Lab → · Contrast checker → · Palette generator →

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