#5D47DD#5D47DD

#5D47DD is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.5% C 0.217 H 282.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5D47DD
RGBrgb(93, 71, 221)
HSLhsl(249, 69%, 57%)
HSVhsv(249, 68%, 87%)
CMYKcmyk(57.9%, 67.9%, 0%, 13.3%)
CIE-LABlab(41.30, 49.49, -73.55)
CIE-LCHlch(41.30, 88.65, 303.93°)
OKLaboklab(51.52% 0.0463 -0.2118)
OKLCHoklch(51.52% 0.217 282.3)
XYZxyz(19.8145, 12.0528, 69.6749)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D47DD #C7DD47
analogous
#477CDD #5D47DD #A847DD
triadic
#5D47DD #DD5D47 #47DD5D
tetradic
#5D47DD #DD477C #C7DD47 #47DDA8
square
#5D47DD #DD477C #C7DD47 #47DDA8
split-complementary
#5D47DD #DDA847 #7CDD47
monochromatic
#2C1A8F #3B24C3 #5D47DD #8A7BE7 #B8AEF0

Accessibility & contrast

On white

6.16
#5D47DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5D47DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D47DD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D47DD#FFFFFF#000000##FFFFFF
##5D47DD1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E2
Deuteranopia (green-blind)
#005CDA
Tritanopia (blue-blind)
#0B6E8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d47dd;
/* rgb */ color: rgb(93, 71, 221);
/* oklch */ color: oklch(51.5% 0.217 282.3);
Tailwind
colors: {
  custom: {
    50: '#987ce9',
    500: '#5d47dd',
    950: '#000000',
  },
}
SCSS
$custom: #5d47dd;
$custom-light: #987ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d47dd",
  "rgb": {
    "r": 93,
    "g": 71,
    "b": 221
  },
  "hsl": {
    "h": 248.8,
    "s": 68.807,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5152,
    "c": 0.21679,
    "h": 282.3
  },
  "luminance": 0.12054
}

Semantic roles & 50–950 ramp

primary
#5D47DD
secondary
#D5DEA2
accent
#EC3CD2
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D47DD

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

Preview Lab → · Contrast checker → · Palette generator →

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