#5D4BCD#5D4BCD

#5D4BCD is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.8% C 0.192 H 283.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5D4BCD
RGBrgb(93, 75, 205)
HSLhsl(248, 57%, 55%)
HSVhsv(248, 63%, 80%)
CMYKcmyk(54.6%, 63.4%, 0%, 19.6%)
CIE-LABlab(40.84, 42.37, -65.11)
CIE-LCHlch(40.84, 77.68, 303.05°)
OKLaboklab(50.79% 0.0448 -0.187)
OKLCHoklch(50.79% 0.192 283.5)
XYZxyz(18.0464, 11.7660, 59.0659)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4BCD #BBCD4B
analogous
#4B7ACD #5D4BCD #9E4BCD
triadic
#5D4BCD #CD5D4B #4BCD5D
tetradic
#5D4BCD #CD4B7A #BBCD4B #4BCD9E
square
#5D4BCD #CD4B7A #BBCD4B #4BCD9E
split-complementary
#5D4BCD #CD9E4B #7ACD4B
monochromatic
#2F227B #4130AB #5D4BCD #887BDA #B3ABE8

Accessibility & contrast

On white

6.26
#5D4BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5D4BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4BCD
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4BCD#FFFFFF#000000##FFFFFF
##5D4BCD1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#2A6B85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d4bcd;
/* rgb */ color: rgb(93, 75, 205);
/* oklch */ color: oklch(50.8% 0.192 283.5);
Tailwind
colors: {
  custom: {
    50: '#957edd',
    500: '#5d4bcd',
    950: '#000000',
  },
}
SCSS
$custom: #5d4bcd;
$custom-light: #957edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4bcd",
  "rgb": {
    "r": 93,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 248.308,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50787,
    "c": 0.19227,
    "h": 283.5
  },
  "luminance": 0.11767
}

Semantic roles & 50–950 ramp

primary
#5D4BCD
secondary
#CED59F
accent
#E048CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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