#5E4DC0#5E4DC0

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

Color values

HEX#5E4DC0
RGBrgb(94, 77, 192)
HSLhsl(249, 48%, 53%)
HSVhsv(249, 60%, 75%)
CMYKcmyk(51%, 59.9%, 0%, 24.7%)
CIE-LABlab(40.40, 37.41, -58.28)
CIE-LCHlch(40.40, 69.25, 302.69°)
OKLaboklab(50.18% 0.0449 -0.1669)
OKLCHoklch(50.18% 0.173 285.1)
XYZxyz(16.7816, 11.4924, 51.1929)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4DC0 #AFC04D
analogous
#4D75C0 #5E4DC0 #984DC0
triadic
#5E4DC0 #C05E4D #4DC05E
tetradic
#5E4DC0 #C04D75 #AFC04D #4DC098
square
#5E4DC0 #C04D75 #AFC04D #4DC098
split-complementary
#5E4DC0 #C0984D #75C04D
monochromatic
#31266C #453699 #5E4DC0 #877AD0 #B0A7E0

Accessibility & contrast

On white

6.37
#5E4DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E4DC0
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4DC0#FFFFFF#000000##FFFFFF
##5E4DC01.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#39687F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e4dc0;
/* rgb */ color: rgb(94, 77, 192);
/* oklch */ color: oklch(50.2% 0.173 285.1);
Tailwind
colors: {
  custom: {
    50: '#937fd4',
    500: '#5e4dc0',
    950: '#000000',
  },
}
SCSS
$custom: #5e4dc0;
$custom-light: #937fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4dc0",
  "rgb": {
    "r": 94,
    "g": 77,
    "b": 192
  },
  "hsl": {
    "h": 248.87,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50176,
    "c": 0.17281,
    "h": 285.1
  },
  "luminance": 0.11493
}

Semantic roles & 50–950 ramp

primary
#5E4DC0
secondary
#C6CD9B
accent
#D750C3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5E4DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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