#5D47CF#5D47CF

#5D47CF is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.3% C 0.200 H 284.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5D47CF
RGBrgb(93, 71, 207)
HSLhsl(250, 59%, 55%)
HSVhsv(250, 66%, 81%)
CMYKcmyk(55.1%, 65.7%, 0%, 18.8%)
CIE-LABlab(40.14, 45.28, -67.40)
CIE-LCHlch(40.14, 81.20, 303.89°)
OKLaboklab(50.33% 0.0483 -0.1937)
OKLCHoklch(50.33% 0.2 284)
XYZxyz(18.0265, 11.3376, 60.2579)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D47CF #B9CF47
analogous
#4775CF #5D47CF #A147CF
triadic
#5D47CF #CF5D47 #47CF5D
tetradic
#5D47CF #CF4775 #B9CF47 #47CFA1
square
#5D47CF #CF4775 #B9CF47 #47CFA1
split-complementary
#5D47CF #CFA147 #75CF47
monochromatic
#2F207B #412DAC #5D47CF #8878DC #B2A8E8

Accessibility & contrast

On white

6.43
#5D47CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5D47CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D47CF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D47CF#FFFFFF#000000##FFFFFF
##5D47CF1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#286985
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d47cf;
/* rgb */ color: rgb(93, 71, 207);
/* oklch */ color: oklch(50.3% 0.200 284.0);
Tailwind
colors: {
  custom: {
    50: '#957cdf',
    500: '#5d47cf',
    950: '#000000',
  },
}
SCSS
$custom: #5d47cf;
$custom-light: #957cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5d47cf",
  "rgb": {
    "r": 93,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 249.706,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5033,
    "c": 0.19966,
    "h": 284
  },
  "luminance": 0.11339
}

Semantic roles & 50–950 ramp

primary
#5D47CF
secondary
#CCD69C
accent
#E246C9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5D47CF

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

Preview Lab → · Contrast checker → · Palette generator →

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