#5C47CA#5C47CA

#5C47CA is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.8% C 0.194 H 284.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5C47CA
RGBrgb(92, 71, 202)
HSLhsl(250, 55%, 54%)
HSVhsv(250, 65%, 79%)
CMYKcmyk(54.5%, 64.9%, 0%, 20.8%)
CIE-LABlab(39.66, 43.60, -65.31)
CIE-LCHlch(39.66, 78.52, 303.72°)
OKLaboklab(49.83% 0.0475 -0.1876)
OKLCHoklch(49.83% 0.194 284.2)
XYZxyz(17.3243, 11.0451, 57.0847)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C47CA #B5CA47
analogous
#4773CA #5C47CA #9D47CA
triadic
#5C47CA #CA5C47 #47CA5C
tetradic
#5C47CA #CA4773 #B5CA47 #47CA9D
square
#5C47CA #CA4773 #B5CA47 #47CA9D
split-complementary
#5C47CA #CA9D47 #73CA47
monochromatic
#2F2275 #422FA4 #5C47CA #8677D8 #B0A6E5

Accessibility & contrast

On white

6.54
#5C47CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5C47CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C47CA
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C47CA#FFFFFF#000000##FFFFFF
##5C47CA1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#2B6882
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5c47ca;
/* rgb */ color: rgb(92, 71, 202);
/* oklch */ color: oklch(49.8% 0.194 284.2);
Tailwind
colors: {
  custom: {
    50: '#947bdb',
    500: '#5c47ca',
    950: '#000000',
  },
}
SCSS
$custom: #5c47ca;
$custom-light: #947bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c47ca",
  "rgb": {
    "r": 92,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 249.618,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49831,
    "c": 0.19353,
    "h": 284.2
  },
  "luminance": 0.11046
}

Semantic roles & 50–950 ramp

primary
#5C47CA
secondary
#C9D29A
accent
#DF49C7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C47CA

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

Preview Lab → · Contrast checker → · Palette generator →

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