#5E4ECC#5E4ECC

#5E4ECC is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.3% C 0.187 H 283.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5E4ECC
RGBrgb(94, 78, 204)
HSLhsl(248, 55%, 55%)
HSVhsv(248, 62%, 80%)
CMYKcmyk(53.9%, 61.8%, 0%, 20%)
CIE-LABlab(41.51, 40.49, -63.44)
CIE-LCHlch(41.51, 75.26, 302.55°)
OKLaboklab(51.27% 0.0432 -0.182)
OKLCHoklch(51.27% 0.187 283.4)
XYZxyz(18.2362, 12.1870, 58.5064)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4ECC #BCCC4E
analogous
#4E7DCC #5E4ECC #9D4ECC
triadic
#5E4ECC #CC5E4E #4ECC5E
tetradic
#5E4ECC #CC4E7D #BCCC4E #4ECC9D
square
#5E4ECC #CC4E7D #BCCC4E #4ECC9D
split-complementary
#5E4ECC #CC9D4E #7DCC4E
monochromatic
#2F247C #4131AB #5E4ECC #897EDA #B4ADE7

Accessibility & contrast

On white

6.11
#5E4ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5E4ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4ECC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4ECC#FFFFFF#000000##FFFFFF
##5E4ECC1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#2D6C86
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e4ecc;
/* rgb */ color: rgb(94, 78, 204);
/* oklch */ color: oklch(51.3% 0.187 283.4);
Tailwind
colors: {
  custom: {
    50: '#9580dc',
    500: '#5e4ecc',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ecc;
$custom-light: #9580dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ecc",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 204
  },
  "hsl": {
    "h": 247.619,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51272,
    "c": 0.18711,
    "h": 283.4
  },
  "luminance": 0.12188
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E4ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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