#5E4ECD#5E4ECD

#5E4ECD is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.4% C 0.188 H 283.3°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5E4ECD
RGBrgb(94, 78, 205)
HSLhsl(248, 56%, 55%)
HSVhsv(248, 62%, 80%)
CMYKcmyk(54.1%, 62%, 0%, 19.6%)
CIE-LABlab(41.59, 40.79, -63.89)
CIE-LCHlch(41.59, 75.80, 302.56°)
OKLaboklab(51.35% 0.0432 -0.1834)
OKLCHoklch(51.35% 0.188 283.3)
XYZxyz(18.3566, 12.2352, 59.1401)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4ECD #BDCD4E
analogous
#4E7DCD #5E4ECD #9D4ECD
triadic
#5E4ECD #CD5E4E #4ECD5E
tetradic
#5E4ECD #CD4E7D #BDCD4E #4ECD9D
square
#5E4ECD #CD4E7D #BDCD4E #4ECD9D
split-complementary
#5E4ECD #CD9D4E #7DCD4E
monochromatic
#2F237D #4031AD #5E4ECD #897EDA #B5ADE8

Accessibility & contrast

On white

6.09
#5E4ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5E4ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4ECD
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4ECD#FFFFFF#000000##FFFFFF
##5E4ECD1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e4ecd;
/* rgb */ color: rgb(94, 78, 205);
/* oklch */ color: oklch(51.4% 0.188 283.3);
Tailwind
colors: {
  custom: {
    50: '#9580dd',
    500: '#5e4ecd',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ecd;
$custom-light: #9580dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ecd",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 205
  },
  "hsl": {
    "h": 247.559,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51351,
    "c": 0.18839,
    "h": 283.3
  },
  "luminance": 0.12236
}

Semantic roles & 50–950 ramp

primary
#5E4ECD
secondary
#CFD6A1
accent
#DF49CC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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