#5E4EDC#5E4EDC

#5E4EDC is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.6% C 0.207 H 281.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5E4EDC
RGBrgb(94, 78, 220)
HSLhsl(247, 67%, 58%)
HSVhsv(247, 65%, 86%)
CMYKcmyk(57.3%, 64.5%, 0%, 13.7%)
CIE-LABlab(42.75, 45.40, -70.60)
CIE-LCHlch(42.75, 83.94, 302.74°)
OKLaboklab(52.57% 0.0419 -0.2031)
OKLCHoklch(52.57% 0.207 281.7)
XYZxyz(20.2547, 12.9944, 69.1371)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4EDC #CCDC4E
analogous
#4E85DC #5E4EDC #A54EDC
triadic
#5E4EDC #DC5E4E #4EDC5E
tetradic
#5E4EDC #DC4E85 #CCDC4E #4EDCA5
square
#5E4EDC #DC4E85 #CCDC4E #4EDCA5
split-complementary
#5E4EDC #DCA54E #85DC4E
monochromatic
#2A1D93 #3927C6 #5E4EDC #8C81E6 #BBB4F0

Accessibility & contrast

On white

5.83
#5E4EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5E4EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4EDC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4EDC#FFFFFF#000000##FFFFFF
##5E4EDC1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#13728E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e4edc;
/* rgb */ color: rgb(94, 78, 220);
/* oklch */ color: oklch(52.6% 0.207 281.7);
Tailwind
colors: {
  custom: {
    50: '#9781e8',
    500: '#5e4edc',
    950: '#000000',
  },
}
SCSS
$custom: #5e4edc;
$custom-light: #9781e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4edc",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 220
  },
  "hsl": {
    "h": 246.761,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52565,
    "c": 0.20735,
    "h": 281.7
  },
  "luminance": 0.12996
}

Semantic roles & 50–950 ramp

primary
#5E4EDC
secondary
#D9DFA7
accent
#EA3ED7
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E4EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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