#5E4DCF#5E4DCF

#5E4DCF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.3% C 0.192 H 283.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5E4DCF
RGBrgb(94, 77, 207)
HSLhsl(248, 58%, 56%)
HSVhsv(248, 63%, 81%)
CMYKcmyk(54.6%, 62.8%, 0%, 18.8%)
CIE-LABlab(41.52, 41.99, -65.16)
CIE-LCHlch(41.52, 77.52, 302.80°)
OKLaboklab(51.35% 0.044 -0.1871)
OKLCHoklch(51.35% 0.192 283.2)
XYZxyz(18.5290, 12.1913, 60.3962)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4DCF #BECF4D
analogous
#4D7DCF #5E4DCF #9F4DCF
triadic
#5E4DCF #CF5E4D #4DCF5E
tetradic
#5E4DCF #CF4D7D #BECF4D #4DCF9F
square
#5E4DCF #CF4D7D #BECF4D #4DCF9F
split-complementary
#5E4DCF #CF9F4D #7DCF4D
monochromatic
#2E227F #402FAF #5E4DCF #8A7DDC #B5ADE9

Accessibility & contrast

On white

6.11
#5E4DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E4DCF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4DCF#FFFFFF#000000##FFFFFF
##5E4DCF1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#2A6D87
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e4dcf;
/* rgb */ color: rgb(94, 77, 207);
/* oklch */ color: oklch(51.3% 0.192 283.2);
Tailwind
colors: {
  custom: {
    50: '#9680df',
    500: '#5e4dcf',
    950: '#000000',
  },
}
SCSS
$custom: #5e4dcf;
$custom-light: #9680df;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4dcf",
  "rgb": {
    "r": 94,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 247.846,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51349,
    "c": 0.1922,
    "h": 283.2
  },
  "luminance": 0.12192
}

Semantic roles & 50–950 ramp

primary
#5E4DCF
secondary
#D0D7A1
accent
#E147CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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