#5C4EBD#5C4EBD

#5C4EBD is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.0% C 0.168 H 284.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5C4EBD
RGBrgb(92, 78, 189)
HSLhsl(248, 46%, 52%)
HSVhsv(248, 59%, 74%)
CMYKcmyk(51.3%, 58.7%, 0%, 25.9%)
CIE-LABlab(40.24, 35.49, -56.79)
CIE-LCHlch(40.24, 66.96, 302.00°)
OKLaboklab(49.95% 0.0413 -0.1625)
OKLCHoklch(49.95% 0.168 284.3)
XYZxyz(16.3206, 11.3974, 49.4742)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4EBD #AFBD4E
analogous
#4E77BD #5C4EBD #944EBD
triadic
#5C4EBD #BD5C4E #4EBD5C
tetradic
#5C4EBD #BD4E77 #AFBD4E #4EBD94
square
#5C4EBD #BD4E77 #AFBD4E #4EBD94
split-complementary
#5C4EBD #BD944E #77BD4E
monochromatic
#302769 #443896 #5C4EBD #857BCE #AEA7DE

Accessibility & contrast

On white

6.40
#5C4EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5C4EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4EBD
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4EBD#FFFFFF#000000##FFFFFF
##5C4EBD1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#37687E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5c4ebd;
/* rgb */ color: rgb(92, 78, 189);
/* oklch */ color: oklch(50.0% 0.168 284.3);
Tailwind
colors: {
  custom: {
    50: '#9280d2',
    500: '#5c4ebd',
    950: '#000000',
  },
}
SCSS
$custom: #5c4ebd;
$custom-light: #9280d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4ebd",
  "rgb": {
    "r": 92,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 247.568,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49951,
    "c": 0.16771,
    "h": 284.3
  },
  "luminance": 0.11398
}

Semantic roles & 50–950 ramp

primary
#5C4EBD
secondary
#C5CC9B
accent
#D552C5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5C4EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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