#5E4FE6#5E4FE6

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

Color values

HEX#5E4FE6
RGBrgb(94, 79, 230)
HSLhsl(246, 75%, 61%)
HSVhsv(246, 66%, 90%)
CMYKcmyk(59.1%, 65.7%, 0%, 9.8%)
CIE-LABlab(43.78, 47.90, -74.62)
CIE-LCHlch(43.78, 88.67, 302.70°)
OKLaboklab(53.55% 0.0399 -0.2149)
OKLCHoklch(53.55% 0.219 280.5)
XYZxyz(21.6905, 13.6833, 76.3457)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4FE6 #D7E64F
analogous
#4F8CE6 #5E4FE6 #A94FE6
triadic
#5E4FE6 #E65E4F #4FE65E
tetradic
#5E4FE6 #E64F8C #D7E64F #4FE6A9
square
#5E4FE6 #E64F8C #D7E64F #4FE6A9
split-complementary
#5E4FE6 #E6A94F #8CE64F
monochromatic
#2517A3 #311FD9 #5E4FE6 #8F85EE #C0BAF5

Accessibility & contrast

On white

5.62
#5E4FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5E4FE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4FE6
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4FE6#FFFFFF#000000##FFFFFF
##5E4FE61.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEB
Deuteranopia (green-blind)
#0062E3
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5e4fe6;
/* rgb */ color: rgb(94, 79, 230);
/* oklch */ color: oklch(53.6% 0.219 280.5);
Tailwind
colors: {
  custom: {
    50: '#9982ef',
    500: '#5e4fe6',
    950: '#000000',
  },
}
SCSS
$custom: #5e4fe6;
$custom-light: #9982ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4fe6",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 245.96,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53554,
    "c": 0.21855,
    "h": 280.5
  },
  "luminance": 0.13685
}

Semantic roles & 50–950 ramp

primary
#5E4FE6
secondary
#DFE5AC
accent
#D70EC3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E4FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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