#5E4FE8#5E4FE8

#5E4FE8 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.7% C 0.221 H 280.3°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5E4FE8
RGBrgb(94, 79, 232)
HSLhsl(246, 77%, 61%)
HSVhsv(246, 66%, 91%)
CMYKcmyk(59.5%, 65.9%, 0%, 9%)
CIE-LABlab(43.94, 48.51, -75.48)
CIE-LCHlch(43.94, 89.73, 302.73°)
OKLaboklab(53.72% 0.0397 -0.2174)
OKLCHoklch(53.72% 0.221 280.3)
XYZxyz(21.9730, 13.7963, 77.8333)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4FE8 #D9E84F
analogous
#4F8CE8 #5E4FE8 #AA4FE8
triadic
#5E4FE8 #E85E4F #4FE85E
tetradic
#5E4FE8 #E84F8C #D9E84F #4FE8AA
square
#5E4FE8 #E84F8C #D9E84F #4FE8AA
split-complementary
#5E4FE8 #E8AA4F #8CE84F
monochromatic
#2416A7 #301DDD #5E4FE8 #9085EF #C1BBF6

Accessibility & contrast

On white

5.59
#5E4FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5E4FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4FE8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4FE8#FFFFFF#000000##FFFFFF
##5E4FE81.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e4fe8;
/* rgb */ color: rgb(94, 79, 232);
/* oklch */ color: oklch(53.7% 0.221 280.3);
Tailwind
colors: {
  custom: {
    50: '#9982f0',
    500: '#5e4fe8',
    950: '#000000',
  },
}
SCSS
$custom: #5e4fe8;
$custom-light: #9982f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4fe8",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 245.882,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53724,
    "c": 0.221,
    "h": 280.3
  },
  "luminance": 0.13798
}

Semantic roles & 50–950 ramp

primary
#5E4FE8
secondary
#E1E6AD
accent
#D90CC5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E4FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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