#5D4BDB#5D4BDB

#5D4BDB is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.9% C 0.210 H 281.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5D4BDB
RGBrgb(93, 75, 219)
HSLhsl(248, 67%, 58%)
HSVhsv(248, 66%, 86%)
CMYKcmyk(57.5%, 65.8%, 0%, 14.1%)
CIE-LABlab(41.96, 46.65, -71.33)
CIE-LCHlch(41.96, 85.23, 303.18°)
OKLaboklab(51.94% 0.0433 -0.2053)
OKLCHoklch(51.94% 0.21 281.9)
XYZxyz(19.8125, 12.4725, 68.3675)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4BDB #C9DB4B
analogous
#4B81DB #5D4BDB #A54BDB
triadic
#5D4BDB #DB5D4B #4BDB5D
tetradic
#5D4BDB #DB4B81 #C9DB4B #4BDBA5
square
#5D4BDB #DB4B81 #C9DB4B #4BDBA5
split-complementary
#5D4BDB #DBA54B #81DB4B
monochromatic
#2B1D8F #3A27C2 #5D4BDB #8B7EE5 #B9B1EF

Accessibility & contrast

On white

6.01
#5D4BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5D4BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4BDB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4BDB#FFFFFF#000000##FFFFFF
##5D4BDB1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d4bdb;
/* rgb */ color: rgb(93, 75, 219);
/* oklch */ color: oklch(51.9% 0.210 281.9);
Tailwind
colors: {
  custom: {
    50: '#977fe7',
    500: '#5d4bdb',
    950: '#000000',
  },
}
SCSS
$custom: #5d4bdb;
$custom-light: #977fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4bdb",
  "rgb": {
    "r": 93,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 247.5,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51943,
    "c": 0.20979,
    "h": 281.9
  },
  "luminance": 0.12474
}

Semantic roles & 50–950 ramp

primary
#5D4BDB
secondary
#D7DEA4
accent
#EA3ED4
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D4BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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