#5E4FD9#5E4FD9

#5E4FD9 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.5% C 0.202 H 281.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5E4FD9
RGBrgb(94, 79, 217)
HSLhsl(247, 64%, 58%)
HSVhsv(247, 64%, 85%)
CMYKcmyk(56.7%, 63.6%, 0%, 14.9%)
CIE-LABlab(42.73, 43.90, -68.92)
CIE-LCHlch(42.73, 81.72, 302.50°)
OKLaboklab(52.48% 0.0413 -0.1981)
OKLCHoklch(52.48% 0.202 281.8)
XYZxyz(19.9326, 12.9801, 67.0873)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4FD9 #CAD94F
analogous
#4F85D9 #5E4FD9 #A34FD9
triadic
#5E4FD9 #D95E4F #4FD95E
tetradic
#5E4FD9 #D94F85 #CAD94F #4FD9A3
square
#5E4FD9 #D94F85 #CAD94F #4FD9A3
split-complementary
#5E4FD9 #D9A34F #85D94F
monochromatic
#2B1F8F #3A2AC1 #5E4FD9 #8C81E4 #BAB4EF

Accessibility & contrast

On white

5.84
#5E4FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5E4FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4FD9
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4FD9#FFFFFF#000000##FFFFFF
##5E4FD91.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#1A718D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e4fd9;
/* rgb */ color: rgb(94, 79, 217);
/* oklch */ color: oklch(52.5% 0.202 281.8);
Tailwind
colors: {
  custom: {
    50: '#9781e6',
    500: '#5e4fd9',
    950: '#000000',
  },
}
SCSS
$custom: #5e4fd9;
$custom-light: #9781e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4fd9",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 246.522,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52475,
    "c": 0.20241,
    "h": 281.8
  },
  "luminance": 0.12981
}

Semantic roles & 50–950 ramp

primary
#5E4FD9
secondary
#D7DDA6
accent
#E740D5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5E4FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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