#5D4BCB#5D4BCB

#5D4BCB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.6% C 0.190 H 283.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5D4BCB
RGBrgb(93, 75, 203)
HSLhsl(248, 55%, 55%)
HSVhsv(248, 63%, 80%)
CMYKcmyk(54.2%, 63.1%, 0%, 20.4%)
CIE-LABlab(40.69, 41.76, -64.21)
CIE-LCHlch(40.69, 76.59, 303.04°)
OKLaboklab(50.63% 0.0449 -0.1843)
OKLCHoklch(50.63% 0.19 283.7)
XYZxyz(17.8065, 11.6701, 57.8026)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4BCB #B9CB4B
analogous
#4B79CB #5D4BCB #9D4BCB
triadic
#5D4BCB #CB5D4B #4BCB5D
tetradic
#5D4BCB #CB4B79 #B9CB4B #4BCB9D
square
#5D4BCB #CB4B79 #B9CB4B #4BCB9D
split-complementary
#5D4BCB #CB9D4B #79CB4B
monochromatic
#2F2379 #4131A8 #5D4BCB #887AD9 #B2AAE6

Accessibility & contrast

On white

6.30
#5D4BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5D4BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4BCB
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4BCB#FFFFFF#000000##FFFFFF
##5D4BCB1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#2C6A84
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d4bcb;
/* rgb */ color: rgb(93, 75, 203);
/* oklch */ color: oklch(50.6% 0.190 283.7);
Tailwind
colors: {
  custom: {
    50: '#957edc',
    500: '#5d4bcb',
    950: '#000000',
  },
}
SCSS
$custom: #5d4bcb;
$custom-light: #957edc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4bcb",
  "rgb": {
    "r": 93,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 248.438,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50625,
    "c": 0.18973,
    "h": 283.7
  },
  "luminance": 0.11671
}

Semantic roles & 50–950 ramp

primary
#5D4BCB
secondary
#CCD49E
accent
#DF49CA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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