#5E4FE1#5E4FE1

#5E4FE1 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.1% C 0.212 H 281.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5E4FE1
RGBrgb(94, 79, 225)
HSLhsl(246, 71%, 60%)
HSVhsv(246, 65%, 88%)
CMYKcmyk(58.2%, 64.9%, 0%, 11.8%)
CIE-LABlab(43.37, 46.36, -72.44)
CIE-LCHlch(43.37, 86.01, 302.62°)
OKLaboklab(53.14% 0.0405 -0.2085)
OKLCHoklch(53.14% 0.212 281)
XYZxyz(20.9984, 13.4065, 72.7007)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4FE1 #D2E14F
analogous
#4F89E1 #5E4FE1 #A74FE1
triadic
#5E4FE1 #E15E4F #4FE15E
tetradic
#5E4FE1 #E14F89 #D2E14F #4FE1A7
square
#5E4FE1 #E14F89 #D2E14F #4FE1A7
split-complementary
#5E4FE1 #E1A74F #89E14F
monochromatic
#281A9B #3523CF #5E4FE1 #8E83EA #BEB8F3

Accessibility & contrast

On white

5.70
#5E4FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5E4FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4FE1
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4FE1#FFFFFF#000000##FFFFFF
##5E4FE11.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE6
Deuteranopia (green-blind)
#0061DE
Tritanopia (blue-blind)
#007491
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5e4fe1;
/* rgb */ color: rgb(94, 79, 225);
/* oklch */ color: oklch(53.1% 0.212 281.0);
Tailwind
colors: {
  custom: {
    50: '#9881eb',
    500: '#5e4fe1',
    950: '#000000',
  },
}
SCSS
$custom: #5e4fe1;
$custom-light: #9881eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4fe1",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 246.164,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53135,
    "c": 0.21239,
    "h": 281
  },
  "luminance": 0.13408
}

Semantic roles & 50–950 ramp

primary
#5E4FE1
secondary
#DCE2AA
accent
#EE3ADB
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E4FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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