#5B49CC#5B49CC

#5B49CC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.2% C 0.194 H 283.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5B49CC
RGBrgb(91, 73, 204)
HSLhsl(248, 56%, 54%)
HSVhsv(248, 64%, 80%)
CMYKcmyk(55.4%, 64.2%, 0%, 20%)
CIE-LABlab(40.16, 42.88, -65.65)
CIE-LCHlch(40.16, 78.41, 303.15°)
OKLaboklab(50.22% 0.0441 -0.1886)
OKLCHoklch(50.22% 0.194 283.2)
XYZxyz(17.5927, 11.3478, 58.3784)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B49CC #BACC49
analogous
#4979CC #5B49CC #9C49CC
triadic
#5B49CC #CC5B49 #49CC5B
tetradic
#5B49CC #CC4979 #BACC49 #49CC9C
square
#5B49CC #CC4979 #BACC49 #49CC9C
split-complementary
#5B49CC #CC9C49 #79CC49
monochromatic
#2E2279 #402FA9 #5B49CC #8679D9 #B1A9E7

Accessibility & contrast

On white

6.42
#5B49CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5B49CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B49CC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B49CC#FFFFFF#000000##FFFFFF
##5B49CC1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#256A84
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5b49cc;
/* rgb */ color: rgb(91, 73, 204);
/* oklch */ color: oklch(50.2% 0.194 283.2);
Tailwind
colors: {
  custom: {
    50: '#947ddd',
    500: '#5b49cc',
    950: '#000000',
  },
}
SCSS
$custom: #5b49cc;
$custom-light: #947ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b49cc",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 248.244,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50225,
    "c": 0.19373,
    "h": 283.2
  },
  "luminance": 0.11349
}

Semantic roles & 50–950 ramp

primary
#5B49CC
secondary
#CDD49D
accent
#E048CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5B49CC

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

Preview Lab → · Contrast checker → · Palette generator →

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