#5C4FD7#5C4FD7

#5C4FD7 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.2% C 0.200 H 281.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5C4FD7
RGBrgb(92, 79, 215)
HSLhsl(246, 63%, 58%)
HSVhsv(246, 63%, 84%)
CMYKcmyk(57.2%, 63.3%, 0%, 15.7%)
CIE-LABlab(42.42, 42.95, -68.30)
CIE-LCHlch(42.42, 80.68, 302.16°)
OKLaboklab(52.16% 0.0389 -0.1964)
OKLCHoklch(52.16% 0.2 281.2)
XYZxyz(19.4715, 12.7723, 65.7160)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FD7 #CAD74F
analogous
#4F86D7 #5C4FD7 #A04FD7
triadic
#5C4FD7 #D75C4F #4FD75C
tetradic
#5C4FD7 #D74F86 #CAD74F #4FD7A0
square
#5C4FD7 #D74F86 #CAD74F #4FD7A0
split-complementary
#5C4FD7 #D7A04F #86D74F
monochromatic
#2A208C #392BBE #5C4FD7 #8A81E2 #B8B3EE

Accessibility & contrast

On white

5.91
#5C4FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5C4FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FD7
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FD7#FFFFFF#000000##FFFFFF
##5C4FD71.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#005FD4
Tritanopia (blue-blind)
#14718C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5c4fd7;
/* rgb */ color: rgb(92, 79, 215);
/* oklch */ color: oklch(52.2% 0.200 281.2);
Tailwind
colors: {
  custom: {
    50: '#9681e4',
    500: '#5c4fd7',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fd7;
$custom-light: #9681e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fd7",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 245.735,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52158,
    "c": 0.20019,
    "h": 281.2
  },
  "luminance": 0.12774
}

Semantic roles & 50–950 ramp

primary
#5C4FD7
secondary
#D7DCA6
accent
#E642D6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5C4FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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