#5D47CD#5D47CD

#5D47CD is a mid, vivid blue. Relative luminance 0.112; OKLCH L 50.2% C 0.197 H 284.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5D47CD
RGBrgb(93, 71, 205)
HSLhsl(250, 57%, 54%)
HSVhsv(250, 65%, 80%)
CMYKcmyk(54.6%, 65.4%, 0%, 19.6%)
CIE-LABlab(39.98, 44.67, -66.51)
CIE-LCHlch(39.98, 80.12, 303.89°)
OKLaboklab(50.16% 0.0485 -0.1911)
OKLCHoklch(50.16% 0.197 284.2)
XYZxyz(17.7835, 11.2404, 58.9783)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D47CD #B7CD47
analogous
#4774CD #5D47CD #A047CD
triadic
#5D47CD #CD5D47 #47CD5D
tetradic
#5D47CD #CD4774 #B7CD47 #47CDA0
square
#5D47CD #CD4774 #B7CD47 #47CDA0
split-complementary
#5D47CD #CDA047 #74CD47
monochromatic
#2F2179 #422EA9 #5D47CD #8777DA #B2A7E7

Accessibility & contrast

On white

6.47
#5D47CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5D47CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D47CD
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D47CD#FFFFFF#000000##FFFFFF
##5D47CD1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#2A6984
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d47cd;
/* rgb */ color: rgb(93, 71, 205);
/* oklch */ color: oklch(50.2% 0.197 284.2);
Tailwind
colors: {
  custom: {
    50: '#957cdd',
    500: '#5d47cd',
    950: '#000000',
  },
}
SCSS
$custom: #5d47cd;
$custom-light: #957cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d47cd",
  "rgb": {
    "r": 93,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 249.851,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50163,
    "c": 0.19717,
    "h": 284.2
  },
  "luminance": 0.11241
}

Semantic roles & 50–950 ramp

primary
#5D47CD
secondary
#CBD49B
accent
#E147C7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5D47CD

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

Preview Lab → · Contrast checker → · Palette generator →

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