#5C47DA#5C47DA

#5C47DA is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.2% C 0.213 H 282.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5C47DA
RGBrgb(92, 71, 218)
HSLhsl(249, 67%, 57%)
HSVhsv(249, 67%, 85%)
CMYKcmyk(57.8%, 67.4%, 0%, 14.5%)
CIE-LABlab(40.96, 48.44, -72.39)
CIE-LCHlch(40.96, 87.10, 303.79°)
OKLaboklab(51.18% 0.0455 -0.2084)
OKLCHoklch(51.18% 0.213 282.3)
XYZxyz(19.3178, 11.8425, 67.5839)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C47DA #C5DA47
analogous
#477CDA #5C47DA #A547DA
triadic
#5C47DA #DA5C47 #47DA5C
tetradic
#5C47DA #DA477C #C5DA47 #47DAA5
square
#5C47DA #DA477C #C5DA47 #47DAA5
split-complementary
#5C47DA #DAA547 #7CDA47
monochromatic
#2C1C8B #3C26BE #5C47DA #897AE4 #B6ADEE

Accessibility & contrast

On white

6.23
#5C47DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5C47DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C47DA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C47DA#FFFFFF#000000##FFFFFF
##5C47DA1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DE
Deuteranopia (green-blind)
#005BD7
Tritanopia (blue-blind)
#0D6D8B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5c47da;
/* rgb */ color: rgb(92, 71, 218);
/* oklch */ color: oklch(51.2% 0.213 282.3);
Tailwind
colors: {
  custom: {
    50: '#977ce7',
    500: '#5c47da',
    950: '#000000',
  },
}
SCSS
$custom: #5c47da;
$custom-light: #977ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c47da",
  "rgb": {
    "r": 92,
    "g": 71,
    "b": 218
  },
  "hsl": {
    "h": 248.571,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51181,
    "c": 0.21329,
    "h": 282.3
  },
  "luminance": 0.11844
}

Semantic roles & 50–950 ramp

primary
#5C47DA
secondary
#D4DCA0
accent
#E93ED1
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5C47DA

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

Preview Lab → · Contrast checker → · Palette generator →

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