#5E4DCD#5E4DCD

#5E4DCD is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.2% C 0.190 H 283.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5E4DCD
RGBrgb(94, 77, 205)
HSLhsl(248, 56%, 55%)
HSVhsv(248, 62%, 80%)
CMYKcmyk(54.1%, 62.4%, 0%, 19.6%)
CIE-LABlab(41.37, 41.38, -64.25)
CIE-LCHlch(41.37, 76.43, 302.78°)
OKLaboklab(51.19% 0.0442 -0.1844)
OKLCHoklch(51.19% 0.19 283.5)
XYZxyz(18.2861, 12.0942, 59.1166)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4DCD #BCCD4D
analogous
#4D7CCD #5E4DCD #9E4DCD
triadic
#5E4DCD #CD5E4D #4DCD5E
tetradic
#5E4DCD #CD4D7C #BCCD4D #4DCD9E
square
#5E4DCD #CD4D7C #BCCD4D #4DCD9E
split-complementary
#5E4DCD #CD9E4D #7CCD4D
monochromatic
#2F237D #4130AC #5E4DCD #897DDA #B4ADE8

Accessibility & contrast

On white

6.14
#5E4DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5E4DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4DCD
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4DCD#FFFFFF#000000##FFFFFF
##5E4DCD1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#2C6C86
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e4dcd;
/* rgb */ color: rgb(94, 77, 205);
/* oklch */ color: oklch(51.2% 0.190 283.5);
Tailwind
colors: {
  custom: {
    50: '#9580dd',
    500: '#5e4dcd',
    950: '#000000',
  },
}
SCSS
$custom: #5e4dcd;
$custom-light: #9580dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4dcd",
  "rgb": {
    "r": 94,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 247.969,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51189,
    "c": 0.18965,
    "h": 283.5
  },
  "luminance": 0.12095
}

Semantic roles & 50–950 ramp

primary
#5E4DCD
secondary
#CFD6A0
accent
#DF48CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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