#5D4DCB#5D4DCB

#5D4DCB is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.9% C 0.187 H 283.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5D4DCB
RGBrgb(93, 77, 203)
HSLhsl(248, 55%, 55%)
HSVhsv(248, 62%, 80%)
CMYKcmyk(54.2%, 62.1%, 0%, 20.4%)
CIE-LABlab(41.13, 40.59, -63.49)
CIE-LCHlch(41.13, 75.35, 302.59°)
OKLaboklab(50.95% 0.043 -0.1822)
OKLCHoklch(50.95% 0.187 283.3)
XYZxyz(17.9443, 11.9457, 57.8485)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4DCB #BBCB4D
analogous
#4D7CCB #5D4DCB #9C4DCB
triadic
#5D4DCB #CB5D4D #4DCB5D
tetradic
#5D4DCB #CB4D7C #BBCB4D #4DCB9C
square
#5D4DCB #CB4D7C #BBCB4D #4DCB9C
split-complementary
#5D4DCB #CB9C4D #7CCB4D
monochromatic
#2F247A #4131A9 #5D4DCB #887CD9 #B3ACE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D4DCB#FFFFFF#000000##FFFFFF
##5D4DCB1.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)
#0065CF
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#2C6C85
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d4dcb;
/* rgb */ color: rgb(93, 77, 203);
/* oklch */ color: oklch(50.9% 0.187 283.3);
Tailwind
colors: {
  custom: {
    50: '#9480dc',
    500: '#5d4dcb',
    950: '#000000',
  },
}
SCSS
$custom: #5d4dcb;
$custom-light: #9480dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4dcb",
  "rgb": {
    "r": 93,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 247.619,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50948,
    "c": 0.18722,
    "h": 283.3
  },
  "luminance": 0.11947
}

Semantic roles & 50–950 ramp

primary
#5D4DCB
secondary
#CED49F
accent
#DE4ACB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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