#5E4CD8#5E4CD8

#5E4CD8 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.9% C 0.205 H 282.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5E4CD8
RGBrgb(94, 76, 216)
HSLhsl(248, 64%, 57%)
HSVhsv(248, 65%, 85%)
CMYKcmyk(56.5%, 64.8%, 0%, 15.3%)
CIE-LABlab(42.01, 45.32, -69.53)
CIE-LCHlch(42.01, 83.00, 303.10°)
OKLaboklab(51.92% 0.0441 -0.1999)
OKLCHoklch(51.92% 0.205 282.4)
XYZxyz(19.5914, 12.5052, 66.3338)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4CD8 #C6D84C
analogous
#4C80D8 #5E4CD8 #A44CD8
triadic
#5E4CD8 #D85E4C #4CD85E
tetradic
#5E4CD8 #D84C80 #C6D84C #4CD8A4
square
#5E4CD8 #D84C80 #C6D84C #4CD8A4
split-complementary
#5E4CD8 #D8A44C #80D84C
monochromatic
#2C1E8B #3C29BE #5E4CD8 #8B7EE3 #B8B1EE

Accessibility & contrast

On white

6.00
#5E4CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5E4CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4CD8
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4CD8#FFFFFF#000000##FFFFFF
##5E4CD81.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#005ED5
Tritanopia (blue-blind)
#1D6F8B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e4cd8;
/* rgb */ color: rgb(94, 76, 216);
/* oklch */ color: oklch(51.9% 0.205 282.4);
Tailwind
colors: {
  custom: {
    50: '#977fe5',
    500: '#5e4cd8',
    950: '#000000',
  },
}
SCSS
$custom: #5e4cd8;
$custom-light: #977fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4cd8",
  "rgb": {
    "r": 94,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 247.714,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51924,
    "c": 0.20475,
    "h": 282.4
  },
  "luminance": 0.12506
}

Semantic roles & 50–950 ramp

primary
#5E4CD8
secondary
#D5DCA4
accent
#E741D2
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5E4CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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