#5E4EE3#5E4EE3

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

Color values

HEX#5E4EE3
RGBrgb(94, 78, 227)
HSLhsl(246, 73%, 60%)
HSVhsv(246, 66%, 89%)
CMYKcmyk(58.6%, 65.6%, 0%, 11%)
CIE-LABlab(43.32, 47.54, -73.66)
CIE-LCHlch(43.32, 87.67, 302.84°)
OKLaboklab(53.15% 0.0411 -0.2121)
OKLCHoklch(53.15% 0.216 281)
XYZxyz(21.2013, 13.3730, 74.1222)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4EE3 #D3E34E
analogous
#4E89E3 #5E4EE3 #A94EE3
triadic
#5E4EE3 #E35E4E #4EE35E
tetradic
#5E4EE3 #E34E89 #D3E34E #4EE3A9
square
#5E4EE3 #E34E89 #D3E34E #4EE3A9
split-complementary
#5E4EE3 #E3A94E #89E34E
monochromatic
#27199E #3421D3 #5E4EE3 #8E83EB #BEB8F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E4EE3#FFFFFF#000000##FFFFFF
##5E4EE31.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)
#006CE8
Deuteranopia (green-blind)
#0061E0
Tritanopia (blue-blind)
#007492
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5e4ee3;
/* rgb */ color: rgb(94, 78, 227);
/* oklch */ color: oklch(53.1% 0.216 281.0);
Tailwind
colors: {
  custom: {
    50: '#9981ed',
    500: '#5e4ee3',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ee3;
$custom-light: #9981ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ee3",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 227
  },
  "hsl": {
    "h": 246.443,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53149,
    "c": 0.21602,
    "h": 281
  },
  "luminance": 0.13375
}

Semantic roles & 50–950 ramp

primary
#5E4EE3
secondary
#DDE3AA
accent
#EF38DC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E4EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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