#5E4DE6#5E4DE6

#5E4DE6 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.3% C 0.221 H 280.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5E4DE6
RGBrgb(94, 77, 230)
HSLhsl(247, 75%, 60%)
HSVhsv(247, 67%, 90%)
CMYKcmyk(59.1%, 66.5%, 0%, 9.8%)
CIE-LABlab(43.36, 49.02, -75.30)
CIE-LCHlch(43.36, 89.85, 303.07°)
OKLaboklab(53.25% 0.0415 -0.2169)
OKLCHoklch(53.25% 0.221 280.8)
XYZxyz(21.5484, 13.3991, 76.2983)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4DE6 #D5E64D
analogous
#4D88E6 #5E4DE6 #AB4DE6
triadic
#5E4DE6 #E65E4D #4DE65E
tetradic
#5E4DE6 #E64D88 #D5E64D #4DE6AB
square
#5E4DE6 #E64D88 #D5E64D #4DE6AB
split-complementary
#5E4DE6 #E6AB4D #88E64D
monochromatic
#2617A2 #331ED8 #5E4DE6 #8F83EE #BFB8F5

Accessibility & contrast

On white

5.71
#5E4DE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5E4DE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4DE6
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4DE6#FFFFFF#000000##FFFFFF
##5E4DE61.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#0061E3
Tritanopia (blue-blind)
#007593
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5e4de6;
/* rgb */ color: rgb(94, 77, 230);
/* oklch */ color: oklch(53.3% 0.221 280.8);
Tailwind
colors: {
  custom: {
    50: '#9980ef',
    500: '#5e4de6',
    950: '#000000',
  },
}
SCSS
$custom: #5e4de6;
$custom-light: #9980ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4de6",
  "rgb": {
    "r": 94,
    "g": 77,
    "b": 230
  },
  "hsl": {
    "h": 246.667,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53253,
    "c": 0.22081,
    "h": 280.8
  },
  "luminance": 0.13401
}

Semantic roles & 50–950 ramp

primary
#5E4DE6
secondary
#DEE5AA
accent
#D80EC1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E4DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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