#5B47CC#5B47CC

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

Color values

HEX#5B47CC
RGBrgb(91, 71, 204)
HSLhsl(249, 57%, 54%)
HSVhsv(249, 65%, 80%)
CMYKcmyk(55.4%, 65.2%, 0%, 20%)
CIE-LABlab(39.73, 44.03, -66.35)
CIE-LCHlch(39.73, 79.63, 303.57°)
OKLaboklab(49.91% 0.046 -0.1907)
OKLCHoklch(49.91% 0.196 283.6)
XYZxyz(17.4634, 11.0892, 58.3353)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B47CC #B8CC47
analogous
#4776CC #5B47CC #9E47CC
triadic
#5B47CC #CC5B47 #47CC5B
tetradic
#5B47CC #CC4776 #B8CC47 #47CC9E
square
#5B47CC #CC4776 #B8CC47 #47CC9E
split-complementary
#5B47CC #CC9E47 #76CC47
monochromatic
#2E2177 #412EA7 #5B47CC #8677D9 #B0A7E7

Accessibility & contrast

On white

6.53
#5B47CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5B47CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B47CC
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B47CC#FFFFFF#000000##FFFFFF
##5B47CC1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#256883
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5b47cc;
/* rgb */ color: rgb(91, 71, 204);
/* oklch */ color: oklch(49.9% 0.196 283.6);
Tailwind
colors: {
  custom: {
    50: '#947bdd',
    500: '#5b47cc',
    950: '#000000',
  },
}
SCSS
$custom: #5b47cc;
$custom-light: #947bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b47cc",
  "rgb": {
    "r": 91,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 249.023,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49914,
    "c": 0.19616,
    "h": 283.6
  },
  "luminance": 0.1109
}

Semantic roles & 50–950 ramp

primary
#5B47CC
secondary
#CBD49B
accent
#E048C9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5B47CC

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

Preview Lab → · Contrast checker → · Palette generator →

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