#5C47E0#5C47E0

#5C47E0 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.7% C 0.221 H 281.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5C47E0
RGBrgb(92, 71, 224)
HSLhsl(248, 71%, 58%)
HSVhsv(248, 68%, 88%)
CMYKcmyk(58.9%, 68.3%, 0%, 12.2%)
CIE-LABlab(41.47, 50.25, -74.99)
CIE-LCHlch(41.47, 90.26, 303.83°)
OKLaboklab(51.7% 0.0446 -0.216)
OKLCHoklch(51.7% 0.221 281.7)
XYZxyz(20.1172, 12.1622, 71.7940)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C47E0 #CBE047
analogous
#477FE0 #5C47E0 #A847E0
triadic
#5C47E0 #E05C47 #47E05C
tetradic
#5C47E0 #E0477F #CBE047 #47E0A8
square
#5C47E0 #E0477F #CBE047 #47E0A8
split-complementary
#5C47E0 #E0A847 #7FE047
monochromatic
#2A1994 #3922C8 #5C47E0 #8A7BE9 #B9B0F2

Accessibility & contrast

On white

6.12
#5C47E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5C47E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C47E0
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C47E0#FFFFFF#000000##FFFFFF
##5C47E01.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E5
Deuteranopia (green-blind)
#005CDD
Tritanopia (blue-blind)
#006F8E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5c47e0;
/* rgb */ color: rgb(92, 71, 224);
/* oklch */ color: oklch(51.7% 0.221 281.7);
Tailwind
colors: {
  custom: {
    50: '#987ceb',
    500: '#5c47e0',
    950: '#000000',
  },
}
SCSS
$custom: #5c47e0;
$custom-light: #987ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c47e0",
  "rgb": {
    "r": 92,
    "g": 71,
    "b": 224
  },
  "hsl": {
    "h": 248.235,
    "s": 71.163,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51702,
    "c": 0.22055,
    "h": 281.7
  },
  "luminance": 0.12164
}

Semantic roles & 50–950 ramp

primary
#5C47E0
secondary
#D8E0A3
accent
#EE3AD5
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5C47E0

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

Preview Lab → · Contrast checker → · Palette generator →

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