#5D4EAF#5D4EAF

#5D4EAF is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.0% C 0.149 H 286.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5D4EAF
RGBrgb(93, 78, 175)
HSLhsl(249, 38%, 50%)
HSVhsv(249, 55%, 69%)
CMYKcmyk(46.9%, 55.4%, 0%, 31.4%)
CIE-LABlab(39.36, 31.42, -49.97)
CIE-LCHlch(39.36, 59.03, 302.16°)
OKLaboklab(49.01% 0.0426 -0.1425)
OKLCHoklch(49.01% 0.149 286.6)
XYZxyz(14.9742, 10.8704, 41.8583)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4EAF #A0AF4E
analogous
#4E70AF #5D4EAF #8D4EAF
triadic
#5D4EAF #AF5D4E #4EAF5D
tetradic
#5D4EAF #AF4E70 #A0AF4E #4EAF8D
square
#5D4EAF #AF4E70 #A0AF4E #4EAF8D
split-complementary
#5D4EAF #AF8D4E #70AF4E
monochromatic
#30285A #473B85 #5D4EAF #8378C3 #AAA2D6

Accessibility & contrast

On white

6.62
#5D4EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5D4EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4EAF
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4EAF#FFFFFF#000000##FFFFFF
##5D4EAF1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185FB2
Deuteranopia (green-blind)
#165AAD
Tritanopia (blue-blind)
#426377
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5d4eaf;
/* rgb */ color: rgb(93, 78, 175);
/* oklch */ color: oklch(49.0% 0.149 286.6);
Tailwind
colors: {
  custom: {
    50: '#9080c7',
    500: '#5d4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #5d4eaf;
$custom-light: #9080c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4eaf",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 249.278,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49014,
    "c": 0.1487,
    "h": 286.6
  },
  "luminance": 0.10871
}

Semantic roles & 50–950 ramp

primary
#5D4EAF
secondary
#BCC396
accent
#CE5ABC
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5D4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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