#5D4CDB#5D4CDB

#5D4CDB is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.1% C 0.209 H 281.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5D4CDB
RGBrgb(93, 76, 219)
HSLhsl(247, 67%, 58%)
HSVhsv(247, 65%, 86%)
CMYKcmyk(57.5%, 65.3%, 0%, 14.1%)
CIE-LABlab(42.17, 46.08, -70.99)
CIE-LCHlch(42.17, 84.63, 302.99°)
OKLaboklab(52.1% 0.0424 -0.2043)
OKLCHoklch(52.1% 0.209 281.7)
XYZxyz(19.8808, 12.6092, 68.3903)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4CDB #CADB4C
analogous
#4C82DB #5D4CDB #A54CDB
triadic
#5D4CDB #DB5D4C #4CDB5D
tetradic
#5D4CDB #DB4C82 #CADB4C #4CDBA5
square
#5D4CDB #DB4C82 #CADB4C #4CDBA5
split-complementary
#5D4CDB #DBA54C #82DB4C
monochromatic
#2B1D90 #3A27C3 #5D4CDB #8B7FE5 #B9B2EF

Accessibility & contrast

On white

5.96
#5D4CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5D4CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4CDB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4CDB#FFFFFF#000000##FFFFFF
##5D4CDB1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#10708D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d4cdb;
/* rgb */ color: rgb(93, 76, 219);
/* oklch */ color: oklch(52.1% 0.209 281.7);
Tailwind
colors: {
  custom: {
    50: '#977fe7',
    500: '#5d4cdb',
    950: '#000000',
  },
}
SCSS
$custom: #5d4cdb;
$custom-light: #977fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4cdb",
  "rgb": {
    "r": 93,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 247.133,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52095,
    "c": 0.20862,
    "h": 281.7
  },
  "luminance": 0.12611
}

Semantic roles & 50–950 ramp

primary
#5D4CDB
secondary
#D7DEA5
accent
#E93ED5
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D4CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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