#5E4EE8#5E4EE8

#5E4EE8 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.6% C 0.222 H 280.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5E4EE8
RGBrgb(94, 78, 232)
HSLhsl(246, 77%, 61%)
HSVhsv(246, 66%, 91%)
CMYKcmyk(59.5%, 66.4%, 0%, 9%)
CIE-LABlab(43.73, 49.07, -75.82)
CIE-LCHlch(43.73, 90.32, 302.91°)
OKLaboklab(53.57% 0.0405 -0.2184)
OKLCHoklch(53.57% 0.222 280.5)
XYZxyz(21.9014, 13.6531, 77.8095)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4EE8 #D8E84E
analogous
#4E8BE8 #5E4EE8 #AB4EE8
triadic
#5E4EE8 #E85E4E #4EE85E
tetradic
#5E4EE8 #E84E8B #D8E84E #4EE8AB
square
#5E4EE8 #E84E8B #D8E84E #4EE8AB
split-complementary
#5E4EE8 #E8AB4E #8BE84E
monochromatic
#2516A6 #311DDC #5E4EE8 #8F84EF #C1BAF6

Accessibility & contrast

On white

5.63
#5E4EE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5E4EE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4EE8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4EE8#FFFFFF#000000##FFFFFF
##5E4EE81.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DED
Deuteranopia (green-blind)
#0062E5
Tritanopia (blue-blind)
#007695
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5e4ee8;
/* rgb */ color: rgb(94, 78, 232);
/* oklch */ color: oklch(53.6% 0.222 280.5);
Tailwind
colors: {
  custom: {
    50: '#9981f0',
    500: '#5e4ee8',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ee8;
$custom-light: #9981f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ee8",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 232
  },
  "hsl": {
    "h": 246.234,
    "s": 77,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53573,
    "c": 0.22212,
    "h": 280.5
  },
  "luminance": 0.13655
}

Semantic roles & 50–950 ramp

primary
#5E4EE8
secondary
#E0E6AC
accent
#D90CC4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E4EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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