#5E4EBD#5E4EBD

#5E4EBD is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.1% C 0.168 H 285.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5E4EBD
RGBrgb(94, 78, 189)
HSLhsl(249, 46%, 52%)
HSVhsv(249, 59%, 74%)
CMYKcmyk(50.3%, 58.7%, 0%, 25.9%)
CIE-LABlab(40.41, 35.89, -56.50)
CIE-LCHlch(40.41, 66.94, 302.43°)
OKLaboklab(50.12% 0.0439 -0.1616)
OKLCHoklch(50.12% 0.168 285.2)
XYZxyz(16.5231, 11.5018, 49.4837)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4EBD #ADBD4E
analogous
#4E75BD #5E4EBD #964EBD
triadic
#5E4EBD #BD5E4E #4EBD5E
tetradic
#5E4EBD #BD4E75 #ADBD4E #4EBD96
square
#5E4EBD #BD4E75 #ADBD4E #4EBD96
split-complementary
#5E4EBD #BD964E #75BD4E
monochromatic
#312769 #453896 #5E4EBD #877BCE #AFA7DE

Accessibility & contrast

On white

6.36
#5E4EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5E4EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4EBD
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4EBD#FFFFFF#000000##FFFFFF
##5E4EBD1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e4ebd;
/* rgb */ color: rgb(94, 78, 189);
/* oklch */ color: oklch(50.1% 0.168 285.2);
Tailwind
colors: {
  custom: {
    50: '#9380d2',
    500: '#5e4ebd',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ebd;
$custom-light: #9380d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ebd",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 248.649,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50119,
    "c": 0.1675,
    "h": 285.2
  },
  "luminance": 0.11503
}

Semantic roles & 50–950 ramp

primary
#5E4EBD
secondary
#C5CC9B
accent
#D552C2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5E4EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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