#5C4CE3#5C4CE3

#5C4CE3 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.7% C 0.219 H 280.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5C4CE3
RGBrgb(92, 76, 227)
HSLhsl(246, 73%, 59%)
HSVhsv(246, 67%, 89%)
CMYKcmyk(59.5%, 66.5%, 0%, 11%)
CIE-LABlab(42.75, 48.38, -74.61)
CIE-LCHlch(42.75, 88.92, 302.96°)
OKLaboklab(52.7% 0.0402 -0.2149)
OKLCHoklch(52.7% 0.219 280.6)
XYZxyz(20.8588, 12.9888, 74.0661)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4CE3 #D3E34C
analogous
#4C87E3 #5C4CE3 #A84CE3
triadic
#5C4CE3 #E35C4C #4CE35C
tetradic
#5C4CE3 #E34C87 #D3E34C #4CE3A8
square
#5C4CE3 #E34C87 #D3E34C #4CE3A8
split-complementary
#5C4CE3 #E3A84C #87E34C
monochromatic
#26189C #3321D1 #5C4CE3 #8C81EB #BCB6F4

Accessibility & contrast

On white

5.84
#5C4CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5C4CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4CE3
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4CE3#FFFFFF#000000##FFFFFF
##5C4CE31.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE8
Deuteranopia (green-blind)
#005FE0
Tritanopia (blue-blind)
#007391
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5c4ce3;
/* rgb */ color: rgb(92, 76, 227);
/* oklch */ color: oklch(52.7% 0.219 280.6);
Tailwind
colors: {
  custom: {
    50: '#987fed',
    500: '#5c4ce3',
    950: '#000000',
  },
}
SCSS
$custom: #5c4ce3;
$custom-light: #987fed;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4ce3",
  "rgb": {
    "r": 92,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 246.358,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52696,
    "c": 0.21862,
    "h": 280.6
  },
  "luminance": 0.1299
}

Semantic roles & 50–950 ramp

primary
#5C4CE3
secondary
#DDE3A8
accent
#F038DC
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5C4CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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