#5E4BD8#5E4BD8

#5E4BD8 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.8% C 0.206 H 282.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5E4BD8
RGBrgb(94, 75, 216)
HSLhsl(248, 64%, 57%)
HSVhsv(248, 65%, 85%)
CMYKcmyk(56.5%, 65.3%, 0%, 15.3%)
CIE-LABlab(41.80, 45.89, -69.88)
CIE-LCHlch(41.80, 83.60, 303.29°)
OKLaboklab(51.77% 0.0449 -0.201)
OKLCHoklch(51.77% 0.206 282.6)
XYZxyz(19.5230, 12.3685, 66.3110)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4BD8 #C5D84B
analogous
#4B7FD8 #5E4BD8 #A54BD8
triadic
#5E4BD8 #D85E4B #4BD85E
tetradic
#5E4BD8 #D84B7F #C5D84B #4BD8A5
square
#5E4BD8 #D84B7F #C5D84B #4BD8A5
split-complementary
#5E4BD8 #D8A54B #7FD84B
monochromatic
#2D1E8B #3D29BD #5E4BD8 #8B7DE3 #B8B0EE

Accessibility & contrast

On white

6.04
#5E4BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5E4BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4BD8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4BD8#FFFFFF#000000##FFFFFF
##5E4BD81.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e4bd8;
/* rgb */ color: rgb(94, 75, 216);
/* oklch */ color: oklch(51.8% 0.206 282.6);
Tailwind
colors: {
  custom: {
    50: '#977fe5',
    500: '#5e4bd8',
    950: '#000000',
  },
}
SCSS
$custom: #5e4bd8;
$custom-light: #977fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4bd8",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 248.085,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51771,
    "c": 0.20594,
    "h": 282.6
  },
  "luminance": 0.1237
}

Semantic roles & 50–950 ramp

primary
#5E4BD8
secondary
#D4DCA3
accent
#E740D1
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5E4BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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