#5B49BB#5B49BB

#5B49BB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.9% C 0.172 H 285.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#5B49BB
RGBrgb(91, 73, 187)
HSLhsl(249, 46%, 51%)
HSVhsv(249, 61%, 73%)
CMYKcmyk(51.3%, 61%, 0%, 26.7%)
CIE-LABlab(38.86, 37.68, -57.87)
CIE-LCHlch(38.86, 69.05, 303.07°)
OKLaboklab(48.87% 0.0454 -0.1658)
OKLCHoklch(48.87% 0.172 285.3)
XYZxyz(15.6639, 10.5763, 48.2201)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B49BB #A9BB49
analogous
#4970BB #5B49BB #9449BB
triadic
#5B49BB #BB5B49 #49BB5B
tetradic
#5B49BB #BB4970 #A9BB49 #49BB94
square
#5B49BB #BB4970 #A9BB49 #49BB94
split-complementary
#5B49BB #BB9449 #70BB49
monochromatic
#2F2564 #443691 #5B49BB #8376CC #ABA2DC

Accessibility & contrast

On white

6.74
#5B49BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5B49BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B49BB
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B49BB#FFFFFF#000000##FFFFFF
##5B49BB1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#36647B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5b49bb;
/* rgb */ color: rgb(91, 73, 187);
/* oklch */ color: oklch(48.9% 0.172 285.3);
Tailwind
colors: {
  custom: {
    50: '#917cd0',
    500: '#5b49bb',
    950: '#000000',
  },
}
SCSS
$custom: #5b49bb;
$custom-light: #917cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b49bb",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 249.474,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48867,
    "c": 0.17187,
    "h": 285.3
  },
  "luminance": 0.10577
}

Semantic roles & 50–950 ramp

primary
#5B49BB
secondary
#C1C997
accent
#D553C1
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5B49BB

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

Preview Lab → · Contrast checker → · Palette generator →

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