#5D47DB#5D47DB

#5D47DB is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.3% C 0.214 H 282.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5D47DB
RGBrgb(93, 71, 219)
HSLhsl(249, 67%, 57%)
HSVhsv(249, 68%, 86%)
CMYKcmyk(57.5%, 67.6%, 0%, 14.1%)
CIE-LABlab(41.13, 48.89, -72.69)
CIE-LCHlch(41.13, 87.60, 303.93°)
OKLaboklab(51.35% 0.0466 -0.2092)
OKLCHoklch(51.35% 0.214 282.6)
XYZxyz(19.5497, 11.9468, 68.2799)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D47DB #C5DB47
analogous
#477BDB #5D47DB #A747DB
triadic
#5D47DB #DB5D47 #47DB5D
tetradic
#5D47DB #DB477B #C5DB47 #47DBA7
square
#5D47DB #DB477B #C5DB47 #47DBA7
split-complementary
#5D47DB #DBA747 #7BDB47
monochromatic
#2C1B8C #3C25BF #5D47DB #8A7AE5 #B7ADEF

Accessibility & contrast

On white

6.20
#5D47DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5D47DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D47DB
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D47DB#FFFFFF#000000##FFFFFF
##5D47DB1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#005CD8
Tritanopia (blue-blind)
#126E8B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d47db;
/* rgb */ color: rgb(93, 71, 219);
/* oklch */ color: oklch(51.3% 0.214 282.6);
Tailwind
colors: {
  custom: {
    50: '#977ce7',
    500: '#5d47db',
    950: '#000000',
  },
}
SCSS
$custom: #5d47db;
$custom-light: #977ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d47db",
  "rgb": {
    "r": 93,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 248.919,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51347,
    "c": 0.21436,
    "h": 282.6
  },
  "luminance": 0.11948
}

Semantic roles & 50–950 ramp

primary
#5D47DB
secondary
#D4DDA1
accent
#EA3ED1
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D47DB

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

Preview Lab → · Contrast checker → · Palette generator →

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