#5D4BD9#5D4BD9

#5D4BD9 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.8% C 0.207 H 282.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5D4BD9
RGBrgb(93, 75, 217)
HSLhsl(248, 65%, 57%)
HSVhsv(248, 65%, 85%)
CMYKcmyk(57.1%, 65.4%, 0%, 14.9%)
CIE-LABlab(41.79, 46.04, -70.46)
CIE-LCHlch(41.79, 84.16, 303.16°)
OKLaboklab(51.78% 0.0435 -0.2027)
OKLCHoklch(51.78% 0.207 282.1)
XYZxyz(19.5508, 12.3678, 66.9892)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4BD9 #C7D94B
analogous
#4B80D9 #5D4BD9 #A44BD9
triadic
#5D4BD9 #D95D4B #4BD95D
tetradic
#5D4BD9 #D94B80 #C7D94B #4BD9A4
square
#5D4BD9 #D94B80 #C7D94B #4BD9A4
split-complementary
#5D4BD9 #D9A44B #80D94B
monochromatic
#2C1E8C #3B28BF #5D4BD9 #8A7EE4 #B8B0EE

Accessibility & contrast

On white

6.05
#5D4BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5D4BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4BD9
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4BD9#FFFFFF#000000##FFFFFF
##5D4BD91.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#005ED6
Tritanopia (blue-blind)
#166F8B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d4bd9;
/* rgb */ color: rgb(93, 75, 217);
/* oklch */ color: oklch(51.8% 0.207 282.1);
Tailwind
colors: {
  custom: {
    50: '#977fe6',
    500: '#5d4bd9',
    950: '#000000',
  },
}
SCSS
$custom: #5d4bd9;
$custom-light: #977fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4bd9",
  "rgb": {
    "r": 93,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 247.606,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51775,
    "c": 0.20731,
    "h": 282.1
  },
  "luminance": 0.12369
}

Semantic roles & 50–950 ramp

primary
#5D4BD9
secondary
#D5DDA3
accent
#E840D3
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5D4BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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