#5B528D#5B528D

#5B528D is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.4% C 0.094 H 289.3°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#5B528D
RGBrgb(91, 82, 141)
HSLhsl(249, 26%, 44%)
HSVhsv(249, 42%, 55%)
CMYKcmyk(35.5%, 41.8%, 0%, 44.7%)
CIE-LABlab(38.17, 18.32, -31.51)
CIE-LCHlch(38.17, 36.45, 300.17°)
OKLaboklab(47.42% 0.031 -0.0884)
OKLCHoklch(47.42% 0.094 289.3)
XYZxyz(12.1381, 10.1815, 26.5198)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B528D #848D52
analogous
#52668D #5B528D #78528D
triadic
#5B528D #8D5B52 #528D5B
tetradic
#5B528D #8D5266 #848D52 #528D78
square
#5B528D #8D5266 #848D52 #528D78
split-complementary
#5B528D #8D7852 #668D52
monochromatic
#292540 #423B66 #5B528D #7970AC #9E97C2

Accessibility & contrast

On white

6.92
#5B528D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5B528D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B528D
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B528D#FFFFFF#000000##FFFFFF
##5B528D1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B8F
Deuteranopia (green-blind)
#3F588C
Tritanopia (blue-blind)
#4F5D68
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5b528d;
/* rgb */ color: rgb(91, 82, 141);
/* oklch */ color: oklch(47.4% 0.094 289.3);
Tailwind
colors: {
  custom: {
    50: '#8b82ae',
    500: '#5b528d',
    950: '#000000',
  },
}
SCSS
$custom: #5b528d;
$custom-light: #8b82ae;
$custom-dark: #000000;
JSON
{
  "hex": "#5b528d",
  "rgb": {
    "r": 91,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 249.153,
    "s": 26.457,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47415,
    "c": 0.09371,
    "h": 289.3
  },
  "luminance": 0.10182
}

Semantic roles & 50–950 ramp

primary
#5B528D
secondary
#AAAF8B
accent
#C365B5
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #5B528D

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

Preview Lab → · Contrast checker → · Palette generator →

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