#5D47D6#5D47D6

#5D47D6 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.9% C 0.208 H 283.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5D47D6
RGBrgb(93, 71, 214)
HSLhsl(249, 64%, 56%)
HSVhsv(249, 67%, 84%)
CMYKcmyk(56.5%, 66.8%, 0%, 16.1%)
CIE-LABlab(40.72, 47.38, -70.50)
CIE-LCHlch(40.72, 84.95, 303.91°)
OKLaboklab(50.92% 0.0474 -0.2028)
OKLCHoklch(50.92% 0.208 283.1)
XYZxyz(18.9013, 11.6875, 64.8652)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D47D6 #C0D647
analogous
#4778D6 #5D47D6 #A447D6
triadic
#5D47D6 #D65D47 #47D65D
tetradic
#5D47D6 #D64778 #C0D647 #47D6A4
square
#5D47D6 #D64778 #C0D647 #47D6A4
split-complementary
#5D47D6 #D6A447 #78D647
monochromatic
#2E1E85 #3F29B7 #5D47D6 #8979E1 #B5ABEC

Accessibility & contrast

On white

6.29
#5D47D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5D47D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D47D6
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D47D6#FFFFFF#000000##FFFFFF
##5D47D61.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DA
Deuteranopia (green-blind)
#005BD3
Tritanopia (blue-blind)
#1D6C89
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d47d6;
/* rgb */ color: rgb(93, 71, 214);
/* oklch */ color: oklch(50.9% 0.208 283.1);
Tailwind
colors: {
  custom: {
    50: '#967ce4',
    500: '#5d47d6',
    950: '#000000',
  },
}
SCSS
$custom: #5d47d6;
$custom-light: #967ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d47d6",
  "rgb": {
    "r": 93,
    "g": 71,
    "b": 214
  },
  "hsl": {
    "h": 249.231,
    "s": 63.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50919,
    "c": 0.20827,
    "h": 283.1
  },
  "luminance": 0.11689
}

Semantic roles & 50–950 ramp

primary
#5D47D6
secondary
#D1DA9F
accent
#E741CD
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5D47D6

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

Preview Lab → · Contrast checker → · Palette generator →

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