#5C4EDD#5C4EDD

#5C4EDD is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.5% C 0.209 H 280.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5C4EDD
RGBrgb(92, 78, 221)
HSLhsl(246, 68%, 59%)
HSVhsv(246, 65%, 87%)
CMYKcmyk(58.4%, 64.7%, 0%, 13.3%)
CIE-LABlab(42.68, 45.39, -71.30)
CIE-LCHlch(42.68, 84.52, 302.48°)
OKLaboklab(52.49% 0.0392 -0.2052)
OKLCHoklch(52.49% 0.209 280.8)
XYZxyz(20.1851, 12.9432, 69.8272)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4EDD #CFDD4E
analogous
#4E87DD #5C4EDD #A34EDD
triadic
#5C4EDD #DD5C4E #4EDD5C
tetradic
#5C4EDD #DD4E87 #CFDD4E #4EDDA3
square
#5C4EDD #DD4E87 #CFDD4E #4EDDA3
split-complementary
#5C4EDD #DDA34E #87DD4E
monochromatic
#281C94 #3626C7 #5C4EDD #8B81E7 #BBB5F1

Accessibility & contrast

On white

5.85
#5C4EDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5C4EDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4EDD
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4EDD#FFFFFF#000000##FFFFFF
##5C4EDD1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE1
Deuteranopia (green-blind)
#005FDA
Tritanopia (blue-blind)
#00728F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5c4edd;
/* rgb */ color: rgb(92, 78, 221);
/* oklch */ color: oklch(52.5% 0.209 280.8);
Tailwind
colors: {
  custom: {
    50: '#9781e9',
    500: '#5c4edd',
    950: '#000000',
  },
}
SCSS
$custom: #5c4edd;
$custom-light: #9781e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4edd",
  "rgb": {
    "r": 92,
    "g": 78,
    "b": 221
  },
  "hsl": {
    "h": 245.874,
    "s": 67.773,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52494,
    "c": 0.20892,
    "h": 280.8
  },
  "luminance": 0.12945
}

Semantic roles & 50–950 ramp

primary
#5C4EDD
secondary
#DAE0A7
accent
#EB3DDA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5C4EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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