#5D47DF#5D47DF

#5D47DF is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.7% C 0.219 H 282.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5D47DF
RGBrgb(93, 71, 223)
HSLhsl(249, 70%, 58%)
HSVhsv(249, 68%, 87%)
CMYKcmyk(58.3%, 68.2%, 0%, 12.5%)
CIE-LABlab(41.47, 50.09, -74.42)
CIE-LCHlch(41.47, 89.71, 303.94°)
OKLaboklab(51.69% 0.046 -0.2143)
OKLCHoklch(51.69% 0.219 282.1)
XYZxyz(20.0826, 12.1600, 71.0866)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D47DF #C9DF47
analogous
#477DDF #5D47DF #A947DF
triadic
#5D47DF #DF5D47 #47DF5D
tetradic
#5D47DF #DF477D #C9DF47 #47DFA9
square
#5D47DF #DF477D #C9DF47 #47DFA9
split-complementary
#5D47DF #DFA947 #7DDF47
monochromatic
#2B1992 #3A22C6 #5D47DF #8B7BE8 #B9AFF1

Accessibility & contrast

On white

6.12
#5D47DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5D47DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D47DF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D47DF#FFFFFF#000000##FFFFFF
##5D47DF1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E4
Deuteranopia (green-blind)
#005CDC
Tritanopia (blue-blind)
#026F8D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d47df;
/* rgb */ color: rgb(93, 71, 223);
/* oklch */ color: oklch(51.7% 0.219 282.1);
Tailwind
colors: {
  custom: {
    50: '#987cea',
    500: '#5d47df',
    950: '#000000',
  },
}
SCSS
$custom: #5d47df;
$custom-light: #987cea;
$custom-dark: #000000;
JSON
{
  "hex": "#5d47df",
  "rgb": {
    "r": 93,
    "g": 71,
    "b": 223
  },
  "hsl": {
    "h": 248.684,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51694,
    "c": 0.2192,
    "h": 282.1
  },
  "luminance": 0.12161
}

Semantic roles & 50–950 ramp

primary
#5D47DF
secondary
#D7DFA2
accent
#ED3BD3
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D47DF

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

Preview Lab → · Contrast checker → · Palette generator →

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