#5D4DAF#5D4DAF

#5D4DAF is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.8% C 0.150 H 287.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5D4DAF
RGBrgb(93, 77, 175)
HSLhsl(250, 39%, 49%)
HSVhsv(250, 56%, 69%)
CMYKcmyk(46.9%, 56%, 0%, 31.4%)
CIE-LABlab(39.12, 32.03, -50.36)
CIE-LCHlch(39.12, 59.68, 302.46°)
OKLaboklab(48.84% 0.0438 -0.1436)
OKLCHoklch(48.84% 0.15 287)
XYZxyz(14.9037, 10.7294, 41.8348)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4DAF #9FAF4D
analogous
#4D6EAF #5D4DAF #8E4DAF
triadic
#5D4DAF #AF5D4D #4DAF5D
tetradic
#5D4DAF #AF4D6E #9FAF4D #4DAF8E
square
#5D4DAF #AF4D6E #9FAF4D #4DAF8E
split-complementary
#5D4DAF #AF8E4D #6EAF4D
monochromatic
#30285A #463A85 #5D4DAF #8376C3 #A9A1D6

Accessibility & contrast

On white

6.68
#5D4DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5D4DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4DAF
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4DAF#FFFFFF#000000##FFFFFF
##5D4DAF1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145FB2
Deuteranopia (green-blind)
#1359AD
Tritanopia (blue-blind)
#426376
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d4daf;
/* rgb */ color: rgb(93, 77, 175);
/* oklch */ color: oklch(48.8% 0.150 287.0);
Tailwind
colors: {
  custom: {
    50: '#917fc7',
    500: '#5d4daf',
    950: '#000000',
  },
}
SCSS
$custom: #5d4daf;
$custom-light: #917fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4daf",
  "rgb": {
    "r": 93,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 249.796,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48835,
    "c": 0.15014,
    "h": 287
  },
  "luminance": 0.1073
}

Semantic roles & 50–950 ramp

primary
#5D4DAF
secondary
#BBC395
accent
#CF59BC
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5D4DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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