#5B49C8#5B49C8

#5B49C8 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.9% C 0.189 H 283.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5B49C8
RGBrgb(91, 73, 200)
HSLhsl(249, 54%, 54%)
HSVhsv(249, 64%, 78%)
CMYKcmyk(54.5%, 63.5%, 0%, 21.6%)
CIE-LABlab(39.85, 41.65, -63.84)
CIE-LCHlch(39.85, 76.23, 303.12°)
OKLaboklab(49.9% 0.0445 -0.1833)
OKLCHoklch(49.9% 0.189 283.6)
XYZxyz(17.1191, 11.1584, 55.8841)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B49C8 #B6C849
analogous
#4976C8 #5B49C8 #9A49C8
triadic
#5B49C8 #C85B49 #49C85B
tetradic
#5B49C8 #C84976 #B6C849 #49C89A
square
#5B49C8 #C84976 #B6C849 #49C89A
split-complementary
#5B49C8 #C89A49 #76C849
monochromatic
#2E2374 #4131A3 #5B49C8 #8578D6 #B0A7E4

Accessibility & contrast

On white

6.50
#5B49C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5B49C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B49C8
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B49C8#FFFFFF#000000##FFFFFF
##5B49C81.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#005AC5
Tritanopia (blue-blind)
#2A6882
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5b49c8;
/* rgb */ color: rgb(91, 73, 200);
/* oklch */ color: oklch(49.9% 0.189 283.6);
Tailwind
colors: {
  custom: {
    50: '#937dda',
    500: '#5b49c8',
    950: '#000000',
  },
}
SCSS
$custom: #5b49c8;
$custom-light: #937dda;
$custom-dark: #000000;
JSON
{
  "hex": "#5b49c8",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 248.504,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49899,
    "c": 0.18866,
    "h": 283.6
  },
  "luminance": 0.11159
}

Semantic roles & 50–950 ramp

primary
#5B49C8
secondary
#CAD29B
accent
#DD4BC8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5B49C8

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

Preview Lab → · Contrast checker → · Palette generator →

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