#5E4DCA#5E4DCA

#5E4DCA is a mid, vivid blue. Relative luminance 0.120; OKLCH L 51.0% C 0.186 H 283.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5E4DCA
RGBrgb(94, 77, 202)
HSLhsl(248, 54%, 55%)
HSVhsv(248, 62%, 79%)
CMYKcmyk(53.5%, 61.9%, 0%, 20.8%)
CIE-LABlab(41.14, 40.46, -62.89)
CIE-LCHlch(41.14, 74.78, 302.76°)
OKLaboklab(50.95% 0.0444 -0.1804)
OKLCHoklch(50.95% 0.186 283.8)
XYZxyz(17.9274, 11.9507, 57.2277)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4DCA #B9CA4D
analogous
#4D7BCA #5E4DCA #9D4DCA
triadic
#5E4DCA #CA5E4D #4DCA5E
tetradic
#5E4DCA #CA4D7B #B9CA4D #4DCA9D
square
#5E4DCA #CA4D7B #B9CA4D #4DCA9D
split-complementary
#5E4DCA #CA9D4D #7BCA4D
monochromatic
#2F2479 #4232A8 #5E4DCA #897CD8 #B3ABE6

Accessibility & contrast

On white

6.19
#5E4DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5E4DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4DCA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4DCA#FFFFFF#000000##FFFFFF
##5E4DCA1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#306B84
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e4dca;
/* rgb */ color: rgb(94, 77, 202);
/* oklch */ color: oklch(51.0% 0.186 283.8);
Tailwind
colors: {
  custom: {
    50: '#9580db',
    500: '#5e4dca',
    950: '#000000',
  },
}
SCSS
$custom: #5e4dca;
$custom-light: #9580db;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4dca",
  "rgb": {
    "r": 94,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 248.16,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50951,
    "c": 0.18581,
    "h": 283.8
  },
  "luminance": 0.11952
}

Semantic roles & 50–950 ramp

primary
#5E4DCA
secondary
#CDD49F
accent
#DD4AC9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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