#5B49D2#5B49D2

#5B49D2 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.7% C 0.201 H 282.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5B49D2
RGBrgb(91, 73, 210)
HSLhsl(248, 60%, 55%)
HSVhsv(248, 65%, 82%)
CMYKcmyk(56.7%, 65.2%, 0%, 17.6%)
CIE-LABlab(40.64, 44.72, -68.33)
CIE-LCHlch(40.64, 81.66, 303.20°)
OKLaboklab(50.72% 0.0435 -0.1965)
OKLCHoklch(50.72% 0.201 282.5)
XYZxyz(18.3262, 11.6412, 62.2416)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B49D2 #C0D249
analogous
#497CD2 #5B49D2 #9F49D2
triadic
#5B49D2 #D25B49 #49D25B
tetradic
#5B49D2 #D2497C #C0D249 #49D29F
square
#5B49D2 #D2497C #C0D249 #49D29F
split-complementary
#5B49D2 #D29F49 #7CD249
monochromatic
#2D2081 #3E2CB2 #5B49D2 #877ADE #B3ABEA

Accessibility & contrast

On white

6.31
#5B49D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5B49D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B49D2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B49D2#FFFFFF#000000##FFFFFF
##5B49D21.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#005BCF
Tritanopia (blue-blind)
#1B6C87
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5b49d2;
/* rgb */ color: rgb(91, 73, 210);
/* oklch */ color: oklch(50.7% 0.201 282.5);
Tailwind
colors: {
  custom: {
    50: '#957de1',
    500: '#5b49d2',
    950: '#000000',
  },
}
SCSS
$custom: #5b49d2;
$custom-light: #957de1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b49d2",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 210
  },
  "hsl": {
    "h": 247.883,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50722,
    "c": 0.20126,
    "h": 282.5
  },
  "luminance": 0.11642
}

Semantic roles & 50–950 ramp

primary
#5B49D2
secondary
#D0D89F
accent
#E344CF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5B49D2

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

Preview Lab → · Contrast checker → · Palette generator →

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