#5E4DEC#5E4DEC

#5E4DEC is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.8% C 0.228 H 280.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5E4DEC
RGBrgb(94, 77, 236)
HSLhsl(246, 81%, 61%)
HSVhsv(246, 67%, 93%)
CMYKcmyk(60.2%, 67.4%, 0%, 7.5%)
CIE-LABlab(43.86, 50.85, -77.87)
CIE-LCHlch(43.86, 93.00, 303.14°)
OKLaboklab(53.77% 0.0407 -0.2244)
OKLCHoklch(53.77% 0.228 280.3)
XYZxyz(22.4055, 13.7419, 80.8124)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4DEC #DBEC4D
analogous
#4D8CEC #5E4DEC #AE4DEC
triadic
#5E4DEC #EC5E4D #4DEC5E
tetradic
#5E4DEC #EC4D8C #DBEC4D #4DECAE
square
#5E4DEC #EC4D8C #DBEC4D #4DECAE
split-complementary
#5E4DEC #ECAE4D #8CEC4D
monochromatic
#2312AC #2E18E4 #5E4DEC #9084F2 #C2BCF8

Accessibility & contrast

On white

5.60
#5E4DEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#5E4DEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4DEC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4DEC#FFFFFF#000000##FFFFFF
##5E4DEC1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF1
Deuteranopia (green-blind)
#0062E9
Tritanopia (blue-blind)
#007796
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5e4dec;
/* rgb */ color: rgb(94, 77, 236);
/* oklch */ color: oklch(53.8% 0.228 280.3);
Tailwind
colors: {
  custom: {
    50: '#9a80f3',
    500: '#5e4dec',
    950: '#000000',
  },
}
SCSS
$custom: #5e4dec;
$custom-light: #9a80f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4dec",
  "rgb": {
    "r": 94,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 246.415,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5377,
    "c": 0.22807,
    "h": 280.3
  },
  "luminance": 0.13744
}

Semantic roles & 50–950 ramp

primary
#5E4DEC
secondary
#E2E8AD
accent
#DD08C6
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E4DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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