#5B49CE#5B49CE

#5B49CE is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.4% C 0.196 H 282.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#5B49CE
RGBrgb(91, 73, 206)
HSLhsl(248, 58%, 55%)
HSVhsv(248, 65%, 81%)
CMYKcmyk(55.8%, 64.6%, 0%, 19.2%)
CIE-LABlab(40.32, 43.49, -66.55)
CIE-LCHlch(40.32, 79.50, 303.17°)
OKLaboklab(50.39% 0.0439 -0.1913)
OKLCHoklch(50.39% 0.196 282.9)
XYZxyz(17.8341, 11.4444, 59.6498)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B49CE #BCCE49
analogous
#497ACE #5B49CE #9D49CE
triadic
#5B49CE #CE5B49 #49CE5B
tetradic
#5B49CE #CE497A #BCCE49 #49CE9D
square
#5B49CE #CE497A #BCCE49 #49CE9D
split-complementary
#5B49CE #CE9D49 #7ACE49
monochromatic
#2D217B #3F2EAC #5B49CE #8679DB #B2A9E8

Accessibility & contrast

On white

6.38
#5B49CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5B49CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B49CE
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B49CE#FFFFFF#000000##FFFFFF
##5B49CE1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#226A85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5b49ce;
/* rgb */ color: rgb(91, 73, 206);
/* oklch */ color: oklch(50.4% 0.196 282.9);
Tailwind
colors: {
  custom: {
    50: '#947dde',
    500: '#5b49ce',
    950: '#000000',
  },
}
SCSS
$custom: #5b49ce;
$custom-light: #947dde;
$custom-dark: #000000;
JSON
{
  "hex": "#5b49ce",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 206
  },
  "hsl": {
    "h": 248.12,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5039,
    "c": 0.19626,
    "h": 282.9
  },
  "luminance": 0.11445
}

Semantic roles & 50–950 ramp

primary
#5B49CE
secondary
#CED59D
accent
#E147CC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5B49CE

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

Preview Lab → · Contrast checker → · Palette generator →

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