#5B49CB#5B49CB

#5B49CB is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.1% C 0.192 H 283.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5B49CB
RGBrgb(91, 73, 203)
HSLhsl(248, 56%, 54%)
HSVhsv(248, 64%, 80%)
CMYKcmyk(55.2%, 64%, 0%, 20.4%)
CIE-LABlab(40.08, 42.57, -65.20)
CIE-LCHlch(40.08, 77.87, 303.14°)
OKLaboklab(50.14% 0.0442 -0.1873)
OKLCHoklch(50.14% 0.192 283.3)
XYZxyz(17.4731, 11.3000, 57.7487)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B49CB #B9CB49
analogous
#4978CB #5B49CB #9C49CB
triadic
#5B49CB #CB5B49 #49CB5B
tetradic
#5B49CB #CB4978 #B9CB49 #49CB9C
square
#5B49CB #CB4978 #B9CB49 #49CB9C
split-complementary
#5B49CB #CB9C49 #78CB49
monochromatic
#2E2277 #4030A7 #5B49CB #8679D9 #B1A8E6

Accessibility & contrast

On white

6.44
#5B49CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5B49CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B49CB
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B49CB#FFFFFF#000000##FFFFFF
##5B49CB1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#266983
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5b49cb;
/* rgb */ color: rgb(91, 73, 203);
/* oklch */ color: oklch(50.1% 0.192 283.3);
Tailwind
colors: {
  custom: {
    50: '#947ddc',
    500: '#5b49cb',
    950: '#000000',
  },
}
SCSS
$custom: #5b49cb;
$custom-light: #947ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b49cb",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 248.308,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50143,
    "c": 0.19247,
    "h": 283.3
  },
  "luminance": 0.11301
}

Semantic roles & 50–950 ramp

primary
#5B49CB
secondary
#CCD49C
accent
#DF49CA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5B49CB

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

Preview Lab → · Contrast checker → · Palette generator →

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