#5C47E4#5C47E4

#5C47E4 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 52.1% C 0.225 H 281.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5C47E4
RGBrgb(92, 71, 228)
HSLhsl(248, 74%, 59%)
HSVhsv(248, 69%, 89%)
CMYKcmyk(59.6%, 68.9%, 0%, 10.6%)
CIE-LABlab(41.82, 51.45, -76.70)
CIE-LCHlch(41.82, 92.36, 303.85°)
OKLaboklab(52.05% 0.0439 -0.221)
OKLCHoklch(52.05% 0.225 281.2)
XYZxyz(20.6661, 12.3818, 74.6846)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C47E4 #CFE447
analogous
#4780E4 #5C47E4 #AA47E4
triadic
#5C47E4 #E45C47 #47E45C
tetradic
#5C47E4 #E44780 #CFE447 #47E4AA
square
#5C47E4 #E44780 #CFE447 #47E4AA
split-complementary
#5C47E4 #E4AA47 #80E447
monochromatic
#28179A #361ECF #5C47E4 #8B7CEC #BBB2F4

Accessibility & contrast

On white

6.04
#5C47E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5C47E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C47E4
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C47E4#FFFFFF#000000##FFFFFF
##5C47E41.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E9
Deuteranopia (green-blind)
#005DE1
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5c47e4;
/* rgb */ color: rgb(92, 71, 228);
/* oklch */ color: oklch(52.1% 0.225 281.2);
Tailwind
colors: {
  custom: {
    50: '#987cee',
    500: '#5c47e4',
    950: '#000000',
  },
}
SCSS
$custom: #5c47e4;
$custom-light: #987cee;
$custom-dark: #000000;
JSON
{
  "hex": "#5c47e4",
  "rgb": {
    "r": 92,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 248.025,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52054,
    "c": 0.22534,
    "h": 281.2
  },
  "luminance": 0.12383
}

Semantic roles & 50–950 ramp

primary
#5C47E4
secondary
#DAE2A4
accent
#F137D8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5C47E4

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

Preview Lab → · Contrast checker → · Palette generator →

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