#5B49D3#5B49D3

#5B49D3 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.8% C 0.203 H 282.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5B49D3
RGBrgb(91, 73, 211)
HSLhsl(248, 61%, 56%)
HSVhsv(248, 65%, 83%)
CMYKcmyk(56.9%, 65.4%, 0%, 17.3%)
CIE-LABlab(40.72, 45.02, -68.77)
CIE-LCHlch(40.72, 82.20, 303.21°)
OKLaboklab(50.81% 0.0434 -0.1978)
OKLCHoklch(50.81% 0.203 282.4)
XYZxyz(18.4512, 11.6912, 62.8997)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B49D3 #C1D349
analogous
#497CD3 #5B49D3 #A049D3
triadic
#5B49D3 #D35B49 #49D35B
tetradic
#5B49D3 #D3497C #C1D349 #49D3A0
square
#5B49D3 #D3497C #C1D349 #49D3A0
split-complementary
#5B49D3 #D3A049 #7CD349
monochromatic
#2C1F82 #3D2BB3 #5B49D3 #877ADF #B4ACEB

Accessibility & contrast

On white

6.29
#5B49D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5B49D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B49D3
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B49D3#FFFFFF#000000##FFFFFF
##5B49D31.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#005BD0
Tritanopia (blue-blind)
#196C88
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5b49d3;
/* rgb */ color: rgb(91, 73, 211);
/* oklch */ color: oklch(50.8% 0.203 282.4);
Tailwind
colors: {
  custom: {
    50: '#957de2',
    500: '#5b49d3',
    950: '#000000',
  },
}
SCSS
$custom: #5b49d3;
$custom-light: #957de2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b49d3",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 211
  },
  "hsl": {
    "h": 247.826,
    "s": 61.062,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50806,
    "c": 0.20251,
    "h": 282.4
  },
  "luminance": 0.11692
}

Semantic roles & 50–950 ramp

primary
#5B49D3
secondary
#D1D99F
accent
#E444CF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #5B49D3

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

Preview Lab → · Contrast checker → · Palette generator →

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