#5E4FEC#5E4FEC

#5E4FEC is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 54.1% C 0.226 H 280.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5E4FEC
RGBrgb(94, 79, 236)
HSLhsl(246, 81%, 62%)
HSVhsv(246, 67%, 93%)
CMYKcmyk(60.2%, 66.5%, 0%, 7.5%)
CIE-LABlab(44.27, 49.74, -77.20)
CIE-LCHlch(44.27, 91.83, 302.79°)
OKLaboklab(54.07% 0.0392 -0.2224)
OKLCHoklch(54.07% 0.226 280)
XYZxyz(22.5476, 14.0261, 80.8598)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4FEC #DDEC4F
analogous
#4F8FEC #5E4FEC #AC4FEC
triadic
#5E4FEC #EC5E4F #4FEC5E
tetradic
#5E4FEC #EC4F8F #DDEC4F #4FECAC
square
#5E4FEC #EC4F8F #DDEC4F #4FECAC
split-complementary
#5E4FEC #ECAC4F #8FEC4F
monochromatic
#2213AE #2C19E5 #5E4FEC #9186F2 #C3BDF8

Accessibility & contrast

On white

5.52
#5E4FEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5E4FEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4FEC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4FEC#FFFFFF#000000##FFFFFF
##5E4FEC1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF1
Deuteranopia (green-blind)
#0063E9
Tritanopia (blue-blind)
#007897
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e4fec;
/* rgb */ color: rgb(94, 79, 236);
/* oklch */ color: oklch(54.1% 0.226 280.0);
Tailwind
colors: {
  custom: {
    50: '#9a82f3',
    500: '#5e4fec',
    950: '#000000',
  },
}
SCSS
$custom: #5e4fec;
$custom-light: #9a82f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4fec",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 236
  },
  "hsl": {
    "h": 245.732,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54065,
    "c": 0.22586,
    "h": 280
  },
  "luminance": 0.14028
}

Semantic roles & 50–950 ramp

primary
#5E4FEC
secondary
#E3E8AE
accent
#DD09C9
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E4FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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