#5E4DBE#5E4DBE

#5E4DBE is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.0% C 0.170 H 285.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5E4DBE
RGBrgb(94, 77, 190)
HSLhsl(249, 47%, 52%)
HSVhsv(249, 59%, 75%)
CMYKcmyk(50.5%, 59.5%, 0%, 25.5%)
CIE-LABlab(40.25, 36.80, -57.35)
CIE-LCHlch(40.25, 68.14, 302.69°)
OKLaboklab(50.02% 0.045 -0.1641)
OKLCHoklch(50.02% 0.17 285.3)
XYZxyz(16.5615, 11.4043, 50.0338)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4DBE #ADBE4D
analogous
#4D74BE #5E4DBE #974DBE
triadic
#5E4DBE #BE5E4D #4DBE5E
tetradic
#5E4DBE #BE4D74 #ADBE4D #4DBE97
square
#5E4DBE #BE4D74 #ADBE4D #4DBE97
split-complementary
#5E4DBE #BE974D #74BE4D
monochromatic
#31276A #453797 #5E4DBE #877ACE #AFA7DF

Accessibility & contrast

On white

6.40
#5E4DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5E4DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4DBE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4DBE#FFFFFF#000000##FFFFFF
##5E4DBE1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#3A677E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e4dbe;
/* rgb */ color: rgb(94, 77, 190);
/* oklch */ color: oklch(50.0% 0.170 285.3);
Tailwind
colors: {
  custom: {
    50: '#937fd2',
    500: '#5e4dbe',
    950: '#000000',
  },
}
SCSS
$custom: #5e4dbe;
$custom-light: #937fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4dbe",
  "rgb": {
    "r": 94,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 249.027,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50024,
    "c": 0.17018,
    "h": 285.3
  },
  "luminance": 0.11405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E4DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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