#5D47CC#5D47CC

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

Color values

HEX#5D47CC
RGBrgb(93, 71, 204)
HSLhsl(250, 57%, 54%)
HSVhsv(250, 65%, 80%)
CMYKcmyk(54.4%, 65.2%, 0%, 20%)
CIE-LABlab(39.90, 44.37, -66.06)
CIE-LCHlch(39.90, 79.58, 303.89°)
OKLaboklab(50.08% 0.0486 -0.1898)
OKLCHoklch(50.08% 0.196 284.4)
XYZxyz(17.6632, 11.1923, 58.3446)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D47CC #B6CC47
analogous
#4774CC #5D47CC #A047CC
triadic
#5D47CC #CC5D47 #47CC5D
tetradic
#5D47CC #CC4774 #B6CC47 #47CCA0
square
#5D47CC #CC4774 #B6CC47 #47CCA0
split-complementary
#5D47CC #CCA047 #74CC47
monochromatic
#2F2177 #422EA7 #5D47CC #8777D9 #B1A7E7

Accessibility & contrast

On white

6.48
#5D47CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D47CC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D47CC#FFFFFF#000000##FFFFFF
##5D47CC1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#2B6883
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d47cc;
/* rgb */ color: rgb(93, 71, 204);
/* oklch */ color: oklch(50.1% 0.196 284.4);
Tailwind
colors: {
  custom: {
    50: '#957cdd',
    500: '#5d47cc',
    950: '#000000',
  },
}
SCSS
$custom: #5d47cc;
$custom-light: #957cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d47cc",
  "rgb": {
    "r": 93,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 249.925,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5008,
    "c": 0.19593,
    "h": 284.4
  },
  "luminance": 0.11193
}

Semantic roles & 50–950 ramp

primary
#5D47CC
secondary
#CAD49B
accent
#E048C7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5D47CC

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

Preview Lab → · Contrast checker → · Palette generator →

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