#5E4DBD#5E4DBD

#5E4DBD is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.9% C 0.169 H 285.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5E4DBD
RGBrgb(94, 77, 189)
HSLhsl(249, 46%, 52%)
HSVhsv(249, 59%, 74%)
CMYKcmyk(50.3%, 59.3%, 0%, 25.9%)
CIE-LABlab(40.18, 36.49, -56.88)
CIE-LCHlch(40.18, 67.58, 302.69°)
OKLaboklab(49.95% 0.045 -0.1627)
OKLCHoklch(49.95% 0.169 285.5)
XYZxyz(16.4526, 11.3608, 49.4602)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4DBD #ACBD4D
analogous
#4D74BD #5E4DBD #964DBD
triadic
#5E4DBD #BD5E4D #4DBD5E
tetradic
#5E4DBD #BD4D74 #ACBD4D #4DBD96
square
#5E4DBD #BD4D74 #ACBD4D #4DBD96
split-complementary
#5E4DBD #BD964D #74BD4D
monochromatic
#312769 #463795 #5E4DBD #867ACE #AFA6DE

Accessibility & contrast

On white

6.42
#5E4DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5E4DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4DBD
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4DBD#FFFFFF#000000##FFFFFF
##5E4DBD1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#3B677D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e4dbd;
/* rgb */ color: rgb(94, 77, 189);
/* oklch */ color: oklch(49.9% 0.169 285.5);
Tailwind
colors: {
  custom: {
    50: '#937fd2',
    500: '#5e4dbd',
    950: '#000000',
  },
}
SCSS
$custom: #5e4dbd;
$custom-light: #937fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4dbd",
  "rgb": {
    "r": 94,
    "g": 77,
    "b": 189
  },
  "hsl": {
    "h": 249.107,
    "s": 45.902,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49949,
    "c": 0.16886,
    "h": 285.5
  },
  "luminance": 0.11362
}

Semantic roles & 50–950 ramp

primary
#5E4DBD
secondary
#C4CB9A
accent
#D652C2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5E4DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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