#5E4EBE#5E4EBE

#5E4EBE is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.2% C 0.169 H 285.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5E4EBE
RGBrgb(94, 78, 190)
HSLhsl(249, 46%, 53%)
HSVhsv(249, 59%, 75%)
CMYKcmyk(50.5%, 58.9%, 0%, 25.5%)
CIE-LABlab(40.48, 36.20, -56.97)
CIE-LCHlch(40.48, 67.50, 302.43°)
OKLaboklab(50.19% 0.0439 -0.163)
OKLCHoklch(50.19% 0.169 285.1)
XYZxyz(16.6320, 11.5453, 50.0573)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4EBE #AEBE4E
analogous
#4E76BE #5E4EBE #964EBE
triadic
#5E4EBE #BE5E4E #4EBE5E
tetradic
#5E4EBE #BE4E76 #AEBE4E #4EBE96
square
#5E4EBE #BE4E76 #AEBE4E #4EBE96
split-complementary
#5E4EBE #BE964E #76BE4E
monochromatic
#31276A #453897 #5E4EBE #877BCE #AFA8DF

Accessibility & contrast

On white

6.35
#5E4EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5E4EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4EBE
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4EBE#FFFFFF#000000##FFFFFF
##5E4EBE1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#3A687E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e4ebe;
/* rgb */ color: rgb(94, 78, 190);
/* oklch */ color: oklch(50.2% 0.169 285.1);
Tailwind
colors: {
  custom: {
    50: '#9380d2',
    500: '#5e4ebe',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ebe;
$custom-light: #9380d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ebe",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 248.571,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50194,
    "c": 0.16883,
    "h": 285.1
  },
  "luminance": 0.11546
}

Semantic roles & 50–950 ramp

primary
#5E4EBE
secondary
#C5CC9C
accent
#D652C3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5E4EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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