#5B49D9#5B49D9

#5B49D9 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.3% C 0.210 H 281.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5B49D9
RGBrgb(91, 73, 217)
HSLhsl(248, 65%, 57%)
HSVhsv(248, 66%, 85%)
CMYKcmyk(58.1%, 66.4%, 0%, 14.9%)
CIE-LABlab(41.21, 46.86, -71.42)
CIE-LCHlch(41.21, 85.42, 303.27°)
OKLaboklab(51.31% 0.0426 -0.2056)
OKLCHoklch(51.31% 0.21 281.7)
XYZxyz(19.2174, 11.9977, 66.9353)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B49D9 #C7D949
analogous
#497FD9 #5B49D9 #A349D9
triadic
#5B49D9 #D95B49 #49D95B
tetradic
#5B49D9 #D9497F #C7D949 #49D9A3
square
#5B49D9 #D9497F #C7D949 #49D9A3
split-complementary
#5B49D9 #D9A349 #7FD949
monochromatic
#2B1D8B #3A28BD #5B49D9 #897CE4 #B6AEEE

Accessibility & contrast

On white

6.18
#5B49D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5B49D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B49D9
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B49D9#FFFFFF#000000##FFFFFF
##5B49D91.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#005CD6
Tritanopia (blue-blind)
#076E8B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5b49d9;
/* rgb */ color: rgb(91, 73, 217);
/* oklch */ color: oklch(51.3% 0.210 281.7);
Tailwind
colors: {
  custom: {
    50: '#967de6',
    500: '#5b49d9',
    950: '#000000',
  },
}
SCSS
$custom: #5b49d9;
$custom-light: #967de6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b49d9",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 217
  },
  "hsl": {
    "h": 247.5,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51313,
    "c": 0.20994,
    "h": 281.7
  },
  "luminance": 0.11999
}

Semantic roles & 50–950 ramp

primary
#5B49D9
secondary
#D5DCA2
accent
#E83FD3
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5B49D9

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

Preview Lab → · Contrast checker → · Palette generator →

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