#5E4BD5#5E4BD5

#5E4BD5 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.5% C 0.202 H 282.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5E4BD5
RGBrgb(94, 75, 213)
HSLhsl(248, 62%, 56%)
HSVhsv(248, 65%, 84%)
CMYKcmyk(55.9%, 64.8%, 0%, 16.5%)
CIE-LABlab(41.56, 44.98, -68.55)
CIE-LCHlch(41.56, 81.99, 303.27°)
OKLaboklab(51.52% 0.0453 -0.1971)
OKLCHoklch(51.52% 0.202 282.9)
XYZxyz(19.1387, 12.2147, 64.2871)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4BD5 #C2D54B
analogous
#4B7DD5 #5E4BD5 #A34BD5
triadic
#5E4BD5 #D55E4B #4BD55E
tetradic
#5E4BD5 #D54B7D #C2D54B #4BD5A3
square
#5E4BD5 #D54B7D #C2D54B #4BD5A3
split-complementary
#5E4BD5 #D5A34B #7DD54B
monochromatic
#2E1F86 #3E2BB8 #5E4BD5 #8A7DE1 #B7AEEC

Accessibility & contrast

On white

6.10
#5E4BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5E4BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4BD5
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4BD5#FFFFFF#000000##FFFFFF
##5E4BD51.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D9
Deuteranopia (green-blind)
#005DD2
Tritanopia (blue-blind)
#226E89
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e4bd5;
/* rgb */ color: rgb(94, 75, 213);
/* oklch */ color: oklch(51.5% 0.202 282.9);
Tailwind
colors: {
  custom: {
    50: '#977ee3',
    500: '#5e4bd5',
    950: '#000000',
  },
}
SCSS
$custom: #5e4bd5;
$custom-light: #977ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4bd5",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 248.261,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51522,
    "c": 0.20221,
    "h": 282.9
  },
  "luminance": 0.12216
}

Semantic roles & 50–950 ramp

primary
#5E4BD5
secondary
#D2DAA2
accent
#E543CF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5E4BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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