#5E4FCD#5E4FCD

#5E4FCD is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.5% C 0.187 H 283.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5E4FCD
RGBrgb(94, 79, 205)
HSLhsl(247, 56%, 56%)
HSVhsv(247, 61%, 80%)
CMYKcmyk(54.1%, 61.5%, 0%, 19.6%)
CIE-LABlab(41.81, 40.20, -63.53)
CIE-LCHlch(41.81, 75.18, 302.33°)
OKLaboklab(51.51% 0.0422 -0.1823)
OKLCHoklch(51.51% 0.187 283)
XYZxyz(18.4281, 12.3783, 59.1640)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4FCD #BECD4F
analogous
#4F7FCD #5E4FCD #9D4FCD
triadic
#5E4FCD #CD5E4F #4FCD5E
tetradic
#5E4FCD #CD4F7F #BECD4F #4FCD9D
square
#5E4FCD #CD4F7F #BECD4F #4FCD9D
split-complementary
#5E4FCD #CD9D4F #7FCD4F
monochromatic
#2E247E #4031AE #5E4FCD #8A7FDB #B5AEE8

Accessibility & contrast

On white

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

On black

3.48
#5E4FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5E4FCD#FFFFFF#000000##FFFFFF
##5E4FCD1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#2C6D86
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e4fcd;
/* rgb */ color: rgb(94, 79, 205);
/* oklch */ color: oklch(51.5% 0.187 283.0);
Tailwind
colors: {
  custom: {
    50: '#9581dd',
    500: '#5e4fcd',
    950: '#000000',
  },
}
SCSS
$custom: #5e4fcd;
$custom-light: #9581dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4fcd",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 205
  },
  "hsl": {
    "h": 247.143,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51514,
    "c": 0.18712,
    "h": 283
  },
  "luminance": 0.12379
}

Semantic roles & 50–950 ramp

primary
#5E4FCD
secondary
#D0D6A2
accent
#DF49CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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