#5E4ED7#5E4ED7

#5E4ED7 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.2% C 0.201 H 282.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5E4ED7
RGBrgb(94, 78, 215)
HSLhsl(247, 63%, 57%)
HSVhsv(247, 64%, 84%)
CMYKcmyk(56.3%, 63.7%, 0%, 15.7%)
CIE-LABlab(42.36, 43.86, -68.39)
CIE-LCHlch(42.36, 81.25, 302.68°)
OKLaboklab(52.15% 0.0424 -0.1966)
OKLCHoklch(52.15% 0.201 282.2)
XYZxyz(19.6024, 12.7335, 65.7017)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4ED7 #C7D74E
analogous
#4E83D7 #5E4ED7 #A24ED7
triadic
#5E4ED7 #D75E4E #4ED75E
tetradic
#5E4ED7 #D74E83 #C7D74E #4ED7A2
square
#5E4ED7 #D74E83 #C7D74E #4ED7A2
split-complementary
#5E4ED7 #D7A24E #83D74E
monochromatic
#2C1F8B #3C2BBD #5E4ED7 #8B80E2 #B9B2EE

Accessibility & contrast

On white

5.92
#5E4ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5E4ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4ED7
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4ED7#FFFFFF#000000##FFFFFF
##5E4ED71.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#005FD4
Tritanopia (blue-blind)
#1E708B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5e4ed7;
/* rgb */ color: rgb(94, 78, 215);
/* oklch */ color: oklch(52.2% 0.201 282.2);
Tailwind
colors: {
  custom: {
    50: '#9781e4',
    500: '#5e4ed7',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ed7;
$custom-light: #9781e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ed7",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 247.007,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52154,
    "c": 0.2011,
    "h": 282.2
  },
  "luminance": 0.12735
}

Semantic roles & 50–950 ramp

primary
#5E4ED7
secondary
#D6DCA5
accent
#E642D3
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5E4ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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