#5E4FE2#5E4FE2

#5E4FE2 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.2% C 0.214 H 280.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5E4FE2
RGBrgb(94, 79, 226)
HSLhsl(246, 72%, 60%)
HSVhsv(246, 65%, 89%)
CMYKcmyk(58.4%, 65%, 0%, 11.4%)
CIE-LABlab(43.45, 46.67, -72.88)
CIE-LCHlch(43.45, 86.54, 302.63°)
OKLaboklab(53.22% 0.0404 -0.2098)
OKLCHoklch(53.22% 0.214 280.9)
XYZxyz(21.1352, 13.4612, 73.4213)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4FE2 #D3E24F
analogous
#4F8AE2 #5E4FE2 #A74FE2
triadic
#5E4FE2 #E25E4F #4FE25E
tetradic
#5E4FE2 #E24F8A #D3E24F #4FE2A7
square
#5E4FE2 #E24F8A #D3E24F #4FE2A7
split-complementary
#5E4FE2 #E2A74F #8AE24F
monochromatic
#271A9D #3422D1 #5E4FE2 #8E84EB #BEB8F3

Accessibility & contrast

On white

5.69
#5E4FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5E4FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4FE2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4FE2#FFFFFF#000000##FFFFFF
##5E4FE21.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0061DF
Tritanopia (blue-blind)
#007492
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5e4fe2;
/* rgb */ color: rgb(94, 79, 226);
/* oklch */ color: oklch(53.2% 0.214 280.9);
Tailwind
colors: {
  custom: {
    50: '#9881ec',
    500: '#5e4fe2',
    950: '#000000',
  },
}
SCSS
$custom: #5e4fe2;
$custom-light: #9881ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4fe2",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 246.122,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53218,
    "c": 0.21362,
    "h": 280.9
  },
  "luminance": 0.13463
}

Semantic roles & 50–950 ramp

primary
#5E4FE2
secondary
#DDE3AA
accent
#EE39DC
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E4FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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