#5C47CD#5C47CD

#5C47CD is a mid, vivid blue. Relative luminance 0.112; OKLCH L 50.1% C 0.197 H 283.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#5C47CD
RGBrgb(92, 71, 205)
HSLhsl(249, 57%, 54%)
HSVhsv(249, 65%, 80%)
CMYKcmyk(55.1%, 65.4%, 0%, 19.6%)
CIE-LABlab(39.90, 44.50, -66.66)
CIE-LCHlch(39.90, 80.15, 303.73°)
OKLaboklab(50.08% 0.0472 -0.1916)
OKLCHoklch(50.08% 0.197 283.8)
XYZxyz(17.6830, 11.1885, 58.9736)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C47CD #B8CD47
analogous
#4775CD #5C47CD #9F47CD
triadic
#5C47CD #CD5C47 #47CD5C
tetradic
#5C47CD #CD4775 #B8CD47 #47CD9F
square
#5C47CD #CD4775 #B8CD47 #47CD9F
split-complementary
#5C47CD #CD9F47 #75CD47
monochromatic
#2F2179 #412EA9 #5C47CD #8777DA #B1A7E7

Accessibility & contrast

On white

6.49
#5C47CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5C47CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C47CD
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C47CD#FFFFFF#000000##FFFFFF
##5C47CD1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#276984
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5c47cd;
/* rgb */ color: rgb(92, 71, 205);
/* oklch */ color: oklch(50.1% 0.197 283.8);
Tailwind
colors: {
  custom: {
    50: '#957cdd',
    500: '#5c47cd',
    950: '#000000',
  },
}
SCSS
$custom: #5c47cd;
$custom-light: #957cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c47cd",
  "rgb": {
    "r": 92,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 249.403,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5008,
    "c": 0.19729,
    "h": 283.8
  },
  "luminance": 0.1119
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C47CD

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

Preview Lab → · Contrast checker → · Palette generator →

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