#5D4CBB#5D4CBB

#5D4CBB is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.5% C 0.168 H 285.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5D4CBB
RGBrgb(93, 76, 187)
HSLhsl(249, 45%, 52%)
HSVhsv(249, 59%, 73%)
CMYKcmyk(50.3%, 59.4%, 0%, 26.7%)
CIE-LABlab(39.72, 36.28, -56.46)
CIE-LCHlch(39.72, 67.11, 302.73°)
OKLaboklab(49.54% 0.0449 -0.1615)
OKLCHoklch(49.54% 0.168 285.5)
XYZxyz(16.0656, 11.0831, 48.2968)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4CBB #AABB4C
analogous
#4C73BB #5D4CBB #954CBB
triadic
#5D4CBB #BB5D4C #4CBB5D
tetradic
#5D4CBB #BB4C73 #AABB4C #4CBB95
square
#5D4CBB #BB4C73 #AABB4C #4CBB95
split-complementary
#5D4CBB #BB954C #73BB4C
monochromatic
#302766 #453892 #5D4CBB #8578CC #ADA5DD

Accessibility & contrast

On white

6.53
#5D4CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5D4CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4CBB
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4CBB#FFFFFF#000000##FFFFFF
##5D4CBB1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#3B667C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d4cbb;
/* rgb */ color: rgb(93, 76, 187);
/* oklch */ color: oklch(49.5% 0.168 285.5);
Tailwind
colors: {
  custom: {
    50: '#927fd0',
    500: '#5d4cbb',
    950: '#000000',
  },
}
SCSS
$custom: #5d4cbb;
$custom-light: #927fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4cbb",
  "rgb": {
    "r": 93,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 249.189,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49543,
    "c": 0.16766,
    "h": 285.5
  },
  "luminance": 0.11084
}

Semantic roles & 50–950 ramp

primary
#5D4CBB
secondary
#C2CA99
accent
#D553C1
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #5D4CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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