#5B49BF#5B49BF

#5B49BF is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.2% C 0.177 H 284.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5B49BF
RGBrgb(91, 73, 191)
HSLhsl(249, 48%, 52%)
HSVhsv(249, 62%, 75%)
CMYKcmyk(52.4%, 61.8%, 0%, 25.1%)
CIE-LABlab(39.16, 38.90, -59.72)
CIE-LCHlch(39.16, 71.27, 303.08°)
OKLaboklab(49.18% 0.0452 -0.1712)
OKLCHoklch(49.18% 0.177 284.8)
XYZxyz(16.0981, 10.7500, 50.5068)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B49BF #ADBF49
analogous
#4972BF #5B49BF #9649BF
triadic
#5B49BF #BF5B49 #49BF5B
tetradic
#5B49BF #BF4972 #ADBF49 #49BF96
square
#5B49BF #BF4972 #ADBF49 #49BF96
split-complementary
#5B49BF #BF9649 #72BF49
monochromatic
#2F2569 #443596 #5B49BF #8476CF #ADA4DF

Accessibility & contrast

On white

6.67
#5B49BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5B49BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B49BF
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B49BF#FFFFFF#000000##FFFFFF
##5B49BF1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#33657D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5b49bf;
/* rgb */ color: rgb(91, 73, 191);
/* oklch */ color: oklch(49.2% 0.177 284.8);
Tailwind
colors: {
  custom: {
    50: '#927dd3',
    500: '#5b49bf',
    950: '#000000',
  },
}
SCSS
$custom: #5b49bf;
$custom-light: #927dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b49bf",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 249.153,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.4918,
    "c": 0.17709,
    "h": 284.8
  },
  "luminance": 0.10751
}

Semantic roles & 50–950 ramp

primary
#5B49BF
secondary
#C4CC98
accent
#D850C3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5B49BF

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

Preview Lab → · Contrast checker → · Palette generator →

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