#5B49BD#5B49BD

#5B49BD is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.0% C 0.174 H 285.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5B49BD
RGBrgb(91, 73, 189)
HSLhsl(249, 47%, 51%)
HSVhsv(249, 61%, 74%)
CMYKcmyk(51.9%, 61.4%, 0%, 25.9%)
CIE-LABlab(39.01, 38.29, -58.80)
CIE-LCHlch(39.01, 70.16, 303.07°)
OKLaboklab(49.02% 0.0453 -0.1685)
OKLCHoklch(49.02% 0.174 285.1)
XYZxyz(15.8795, 10.6625, 49.3556)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B49BD #ABBD49
analogous
#4971BD #5B49BD #9549BD
triadic
#5B49BD #BD5B49 #49BD5B
tetradic
#5B49BD #BD4971 #ABBD49 #49BD95
square
#5B49BD #BD4971 #ABBD49 #49BD95
split-complementary
#5B49BD #BD9549 #71BD49
monochromatic
#2F2566 #443593 #5B49BD #8376CD #ACA3DE

Accessibility & contrast

On white

6.70
#5B49BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5B49BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B49BD
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B49BD#FFFFFF#000000##FFFFFF
##5B49BD1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#35657C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5b49bd;
/* rgb */ color: rgb(91, 73, 189);
/* oklch */ color: oklch(49.0% 0.174 285.1);
Tailwind
colors: {
  custom: {
    50: '#917cd2',
    500: '#5b49bd',
    950: '#000000',
  },
}
SCSS
$custom: #5b49bd;
$custom-light: #917cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b49bd",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 189
  },
  "hsl": {
    "h": 249.31,
    "s": 46.774,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49023,
    "c": 0.17449,
    "h": 285.1
  },
  "luminance": 0.10663
}

Semantic roles & 50–950 ramp

primary
#5B49BD
secondary
#C3CA97
accent
#D651C2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5B49BD

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

Preview Lab → · Contrast checker → · Palette generator →

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