#5B49D7#5B49D7

#5B49D7 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.1% C 0.207 H 281.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5B49D7
RGBrgb(91, 73, 215)
HSLhsl(248, 64%, 56%)
HSVhsv(248, 66%, 84%)
CMYKcmyk(57.7%, 66%, 0%, 15.7%)
CIE-LABlab(41.05, 46.25, -70.54)
CIE-LCHlch(41.05, 84.35, 303.25°)
OKLaboklab(51.14% 0.0429 -0.203)
OKLCHoklch(51.14% 0.207 281.9)
XYZxyz(18.9589, 11.8943, 65.5736)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B49D7 #C5D749
analogous
#497ED7 #5B49D7 #A249D7
triadic
#5B49D7 #D75B49 #49D75B
tetradic
#5B49D7 #D7497E #C5D749 #49D7A2
square
#5B49D7 #D7497E #C5D749 #49D7A2
split-complementary
#5B49D7 #D7A249 #7ED749
monochromatic
#2B1E88 #3B29BA #5B49D7 #887BE2 #B5ADED

Accessibility & contrast

On white

6.21
#5B49D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5B49D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B49D7
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B49D7#FFFFFF#000000##FFFFFF
##5B49D71.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DB
Deuteranopia (green-blind)
#005CD4
Tritanopia (blue-blind)
#0F6D8A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5b49d7;
/* rgb */ color: rgb(91, 73, 215);
/* oklch */ color: oklch(51.1% 0.207 281.9);
Tailwind
colors: {
  custom: {
    50: '#957de4',
    500: '#5b49d7',
    950: '#000000',
  },
}
SCSS
$custom: #5b49d7;
$custom-light: #957de4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b49d7",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 215
  },
  "hsl": {
    "h": 247.606,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51143,
    "c": 0.20747,
    "h": 281.9
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#5B49D7
secondary
#D4DBA1
accent
#E741D2
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5B49D7

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

Preview Lab → · Contrast checker → · Palette generator →

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