#5E4EE6#5E4EE6

#5E4EE6 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.4% C 0.220 H 280.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5E4EE6
RGBrgb(94, 78, 230)
HSLhsl(246, 75%, 60%)
HSVhsv(246, 66%, 90%)
CMYKcmyk(59.1%, 66.1%, 0%, 9.8%)
CIE-LABlab(43.57, 48.46, -74.96)
CIE-LCHlch(43.57, 89.26, 302.88°)
OKLaboklab(53.4% 0.0407 -0.2159)
OKLCHoklch(53.4% 0.22 280.7)
XYZxyz(21.6189, 13.5401, 76.3218)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4EE6 #D6E64E
analogous
#4E8AE6 #5E4EE6 #AA4EE6
triadic
#5E4EE6 #E65E4E #4EE65E
tetradic
#5E4EE6 #E64E8A #D6E64E #4EE6AA
square
#5E4EE6 #E64E8A #D6E64E #4EE6AA
split-complementary
#5E4EE6 #E6AA4E #8AE64E
monochromatic
#2617A3 #321FD8 #5E4EE6 #8F84EE #C0B9F5

Accessibility & contrast

On white

5.66
#5E4EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5E4EE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4EE6
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4EE6#FFFFFF#000000##FFFFFF
##5E4EE61.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#0061E3
Tritanopia (blue-blind)
#007593
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5e4ee6;
/* rgb */ color: rgb(94, 78, 230);
/* oklch */ color: oklch(53.4% 0.220 280.7);
Tailwind
colors: {
  custom: {
    50: '#9981ef',
    500: '#5e4ee6',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ee6;
$custom-light: #9981ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ee6",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 230
  },
  "hsl": {
    "h": 246.316,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53403,
    "c": 0.21969,
    "h": 280.7
  },
  "luminance": 0.13542
}

Semantic roles & 50–950 ramp

primary
#5E4EE6
secondary
#DFE5AB
accent
#D70EC2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E4EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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