#5C47CC#5C47CC

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

Color values

HEX#5C47CC
RGBrgb(92, 71, 204)
HSLhsl(249, 57%, 54%)
HSVhsv(249, 65%, 80%)
CMYKcmyk(54.9%, 65.2%, 0%, 20%)
CIE-LABlab(39.82, 44.20, -66.21)
CIE-LCHlch(39.82, 79.61, 303.73°)
OKLaboklab(50% 0.0473 -0.1902)
OKLCHoklch(50% 0.196 284)
XYZxyz(17.5626, 11.1404, 58.3399)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C47CC #B7CC47
analogous
#4775CC #5C47CC #9F47CC
triadic
#5C47CC #CC5C47 #47CC5C
tetradic
#5C47CC #CC4775 #B7CC47 #47CC9F
square
#5C47CC #CC4775 #B7CC47 #47CC9F
split-complementary
#5C47CC #CC9F47 #75CC47
monochromatic
#2F2177 #422EA7 #5C47CC #8677D9 #B1A7E7

Accessibility & contrast

On white

6.51
#5C47CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C47CC
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C47CC#FFFFFF#000000##FFFFFF
##5C47CC1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c47cc;
/* rgb */ color: rgb(92, 71, 204);
/* oklch */ color: oklch(50.0% 0.196 284.0);
Tailwind
colors: {
  custom: {
    50: '#947cdd',
    500: '#5c47cc',
    950: '#000000',
  },
}
SCSS
$custom: #5c47cc;
$custom-light: #947cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c47cc",
  "rgb": {
    "r": 92,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 249.474,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49997,
    "c": 0.19604,
    "h": 284
  },
  "luminance": 0.11141
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C47CC

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

Preview Lab → · Contrast checker → · Palette generator →

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