#5D47D7#5D47D7

#5D47D7 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.0% C 0.209 H 283.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5D47D7
RGBrgb(93, 71, 215)
HSLhsl(249, 64%, 56%)
HSVhsv(249, 67%, 84%)
CMYKcmyk(56.7%, 67%, 0%, 15.7%)
CIE-LABlab(40.80, 47.69, -70.94)
CIE-LCHlch(40.80, 85.48, 303.91°)
OKLaboklab(51% 0.0472 -0.2041)
OKLCHoklch(51% 0.21 283)
XYZxyz(19.0294, 11.7387, 65.5399)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D47D7 #C1D747
analogous
#4779D7 #5D47D7 #A547D7
triadic
#5D47D7 #D75D47 #47D75D
tetradic
#5D47D7 #D74779 #C1D747 #47D7A5
square
#5D47D7 #D74779 #C1D747 #47D7A5
split-complementary
#5D47D7 #D7A547 #79D747
monochromatic
#2D1D86 #3E28B9 #5D47D7 #8979E2 #B6ACED

Accessibility & contrast

On white

6.27
#5D47D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5D47D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D47D7
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D47D7#FFFFFF#000000##FFFFFF
##5D47D71.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DB
Deuteranopia (green-blind)
#005BD4
Tritanopia (blue-blind)
#1B6C89
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d47d7;
/* rgb */ color: rgb(93, 71, 215);
/* oklch */ color: oklch(51.0% 0.209 283.0);
Tailwind
colors: {
  custom: {
    50: '#977ce4',
    500: '#5d47d7',
    950: '#000000',
  },
}
SCSS
$custom: #5d47d7;
$custom-light: #977ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d47d7",
  "rgb": {
    "r": 93,
    "g": 71,
    "b": 215
  },
  "hsl": {
    "h": 249.167,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51004,
    "c": 0.2095,
    "h": 283
  },
  "luminance": 0.1174
}

Semantic roles & 50–950 ramp

primary
#5D47D7
secondary
#D2DB9F
accent
#E741CE
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5D47D7

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

Preview Lab → · Contrast checker → · Palette generator →

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