#5D4BCF#5D4BCF

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

Color values

HEX#5D4BCF
RGBrgb(93, 75, 207)
HSLhsl(248, 58%, 55%)
HSVhsv(248, 64%, 81%)
CMYKcmyk(55.1%, 63.8%, 0%, 18.8%)
CIE-LABlab(41.00, 42.98, -66.01)
CIE-LCHlch(41.00, 78.77, 303.07°)
OKLaboklab(50.95% 0.0446 -0.1896)
OKLCHoklch(50.95% 0.195 283.2)
XYZxyz(18.2893, 11.8632, 60.3455)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4BCF #BDCF4B
analogous
#4B7BCF #5D4BCF #9F4BCF
triadic
#5D4BCF #CF5D4B #4BCF5D
tetradic
#5D4BCF #CF4B7B #BDCF4B #4BCF9F
square
#5D4BCF #CF4B7B #BDCF4B #4BCF9F
split-complementary
#5D4BCF #CF9F4B #7BCF4B
monochromatic
#2E227E #402EAE #5D4BCF #887BDC #B4ACE9

Accessibility & contrast

On white

6.23
#5D4BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5D4BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4BCF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4BCF#FFFFFF#000000##FFFFFF
##5D4BCF1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#276C86
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d4bcf;
/* rgb */ color: rgb(93, 75, 207);
/* oklch */ color: oklch(50.9% 0.195 283.2);
Tailwind
colors: {
  custom: {
    50: '#957edf',
    500: '#5d4bcf',
    950: '#000000',
  },
}
SCSS
$custom: #5d4bcf;
$custom-light: #957edf;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4bcf",
  "rgb": {
    "r": 93,
    "g": 75,
    "b": 207
  },
  "hsl": {
    "h": 248.182,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50949,
    "c": 0.19481,
    "h": 283.2
  },
  "luminance": 0.11864
}

Semantic roles & 50–950 ramp

primary
#5D4BCF
secondary
#CFD69F
accent
#E147CC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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