#5B4BB3#5B4BB3

#5B4BB3 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.6% C 0.159 H 285.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5B4BB3
RGBrgb(91, 75, 179)
HSLhsl(249, 41%, 50%)
HSVhsv(249, 58%, 70%)
CMYKcmyk(49.2%, 58.1%, 0%, 29.8%)
CIE-LABlab(38.74, 34.03, -53.34)
CIE-LCHlch(38.74, 63.27, 302.53°)
OKLaboklab(48.6% 0.0435 -0.1524)
OKLCHoklch(48.6% 0.159 285.9)
XYZxyz(14.9647, 10.5103, 43.8793)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4BB3 #A3B34B
analogous
#4B6FB3 #5B4BB3 #8F4BB3
triadic
#5B4BB3 #B35B4B #4BB35B
tetradic
#5B4BB3 #B34B6F #A3B34B #4BB38F
square
#5B4BB3 #B34B6F #A3B34B #4BB38F
split-complementary
#5B4BB3 #B38F4B #6FB34B
monochromatic
#2F275D #453988 #5B4BB3 #8276C5 #A9A1D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B4BB3#FFFFFF#000000##FFFFFF
##5B4BB31.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)
#005EB6
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#3C6377
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5b4bb3;
/* rgb */ color: rgb(91, 75, 179);
/* oklch */ color: oklch(48.6% 0.159 285.9);
Tailwind
colors: {
  custom: {
    50: '#907eca',
    500: '#5b4bb3',
    950: '#000000',
  },
}
SCSS
$custom: #5b4bb3;
$custom-light: #907eca;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4bb3",
  "rgb": {
    "r": 91,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 249.231,
    "s": 40.945,
    "l": 49.804
  },
  "oklch": {
    "l": 0.486,
    "c": 0.15854,
    "h": 285.9
  },
  "luminance": 0.10511
}

Semantic roles & 50–950 ramp

primary
#5B4BB3
secondary
#BDC495
accent
#D157BE
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5B4BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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