#5C4EBE#5C4EBE

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

Color values

HEX#5C4EBE
RGBrgb(92, 78, 190)
HSLhsl(248, 46%, 53%)
HSVhsv(248, 59%, 75%)
CMYKcmyk(51.6%, 58.9%, 0%, 25.5%)
CIE-LABlab(40.31, 35.80, -57.26)
CIE-LCHlch(40.31, 67.53, 302.01°)
OKLaboklab(50.03% 0.0413 -0.1639)
OKLCHoklch(50.03% 0.169 284.1)
XYZxyz(16.4295, 11.4409, 50.0478)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4EBE #B0BE4E
analogous
#4E78BE #5C4EBE #944EBE
triadic
#5C4EBE #BE5C4E #4EBE5C
tetradic
#5C4EBE #BE4E78 #B0BE4E #4EBE94
square
#5C4EBE #BE4E78 #B0BE4E #4EBE94
split-complementary
#5C4EBE #BE944E #78BE4E
monochromatic
#30276A #443897 #5C4EBE #857BCE #AEA8DF

Accessibility & contrast

On white

6.39
#5C4EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5C4EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4EBE
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4EBE#FFFFFF#000000##FFFFFF
##5C4EBE1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#36687E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5c4ebe;
/* rgb */ color: rgb(92, 78, 190);
/* oklch */ color: oklch(50.0% 0.169 284.1);
Tailwind
colors: {
  custom: {
    50: '#9280d2',
    500: '#5c4ebe',
    950: '#000000',
  },
}
SCSS
$custom: #5c4ebe;
$custom-light: #9280d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4ebe",
  "rgb": {
    "r": 92,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 247.5,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50026,
    "c": 0.16905,
    "h": 284.1
  },
  "luminance": 0.11442
}

Semantic roles & 50–950 ramp

primary
#5C4EBE
secondary
#C6CC9C
accent
#D652C5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5C4EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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