#5E4EF2#5E4EF2

#5E4EF2 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.4% C 0.234 H 279.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5E4EF2
RGBrgb(94, 78, 242)
HSLhsl(246, 86%, 63%)
HSVhsv(246, 68%, 95%)
CMYKcmyk(61.2%, 67.8%, 0%, 5.1%)
CIE-LABlab(44.57, 52.12, -80.08)
CIE-LCHlch(44.57, 95.55, 303.06°)
OKLaboklab(54.44% 0.0391 -0.2309)
OKLCHoklch(54.44% 0.234 279.6)
XYZxyz(23.3624, 14.2375, 85.5042)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4EF2 #E2F24E
analogous
#4E90F2 #5E4EF2 #B04EF2
triadic
#5E4EF2 #F25E4E #4EF25E
tetradic
#5E4EF2 #F24E90 #E2F24E #4EF2B0
square
#5E4EF2 #F24E90 #E2F24E #4EF2B0
split-complementary
#5E4EF2 #F2B04E #90F24E
monochromatic
#1E0EB8 #2A15EE #5E4EF2 #9287F6 #C6C0FA

Accessibility & contrast

On white

5.46
#5E4EF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5E4EF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4EF2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4EF2#FFFFFF#000000##FFFFFF
##5E4EF21.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F7
Deuteranopia (green-blind)
#0063EF
Tritanopia (blue-blind)
#007A9A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e4ef2;
/* rgb */ color: rgb(94, 78, 242);
/* oklch */ color: oklch(54.4% 0.234 279.6);
Tailwind
colors: {
  custom: {
    50: '#9b81f8',
    500: '#5e4ef2',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ef2;
$custom-light: #9b81f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ef2",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 242
  },
  "hsl": {
    "h": 245.854,
    "s": 86.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54437,
    "c": 0.23418,
    "h": 279.6
  },
  "luminance": 0.14239
}

Semantic roles & 50–950 ramp

primary
#5E4EF2
secondary
#E6ECB0
accent
#E303CD
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #5E4EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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