#5E4CD5#5E4CD5

#5E4CD5 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.7% C 0.201 H 282.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5E4CD5
RGBrgb(94, 76, 213)
HSLhsl(248, 62%, 57%)
HSVhsv(248, 64%, 84%)
CMYKcmyk(55.9%, 64.3%, 0%, 16.5%)
CIE-LABlab(41.77, 44.41, -68.20)
CIE-LCHlch(41.77, 81.38, 303.07°)
OKLaboklab(51.68% 0.0444 -0.196)
OKLCHoklch(51.68% 0.201 282.8)
XYZxyz(19.2071, 12.3515, 64.3099)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4CD5 #C3D54C
analogous
#4C7FD5 #5E4CD5 #A34CD5
triadic
#5E4CD5 #D55E4C #4CD55E
tetradic
#5E4CD5 #D54C7F #C3D54C #4CD5A3
square
#5E4CD5 #D54C7F #C3D54C #4CD5A3
split-complementary
#5E4CD5 #D5A34C #7FD54C
monochromatic
#2D2087 #3E2BB9 #5E4CD5 #8B7EE1 #B7AFEC

Accessibility & contrast

On white

6.05
#5E4CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E4CD5
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4CD5#FFFFFF#000000##FFFFFF
##5E4CD51.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#005ED2
Tritanopia (blue-blind)
#226E8A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e4cd5;
/* rgb */ color: rgb(94, 76, 213);
/* oklch */ color: oklch(51.7% 0.201 282.8);
Tailwind
colors: {
  custom: {
    50: '#977fe3',
    500: '#5e4cd5',
    950: '#000000',
  },
}
SCSS
$custom: #5e4cd5;
$custom-light: #977fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4cd5",
  "rgb": {
    "r": 94,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 247.883,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51677,
    "c": 0.201,
    "h": 282.8
  },
  "luminance": 0.12353
}

Semantic roles & 50–950 ramp

primary
#5E4CD5
secondary
#D3DAA2
accent
#E543D0
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5E4CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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