#5C4FC0#5C4FC0

#5C4FC0 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.3% C 0.170 H 283.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5C4FC0
RGBrgb(92, 79, 192)
HSLhsl(247, 47%, 53%)
HSVhsv(247, 59%, 75%)
CMYKcmyk(52.1%, 58.9%, 0%, 24.7%)
CIE-LABlab(40.69, 35.81, -57.81)
CIE-LCHlch(40.69, 68.01, 301.77°)
OKLaboklab(50.35% 0.0402 -0.1656)
OKLCHoklch(50.35% 0.17 283.6)
XYZxyz(16.7212, 11.6721, 51.2308)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FC0 #B3C04F
analogous
#4F7AC0 #5C4FC0 #944FC0
triadic
#5C4FC0 #C05C4F #4FC05C
tetradic
#5C4FC0 #C04F7A #B3C04F #4FC094
square
#5C4FC0 #C04F7A #B3C04F #4FC094
split-complementary
#5C4FC0 #C0944F #7AC04F
monochromatic
#2F276D #43379A #5C4FC0 #867CD0 #AFA9E0

Accessibility & contrast

On white

6.30
#5C4FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5C4FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FC0
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FC0#FFFFFF#000000##FFFFFF
##5C4FC01.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#346980
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5c4fc0;
/* rgb */ color: rgb(92, 79, 192);
/* oklch */ color: oklch(50.3% 0.170 283.6);
Tailwind
colors: {
  custom: {
    50: '#9281d4',
    500: '#5c4fc0',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fc0;
$custom-light: #9281d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fc0",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 246.903,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50349,
    "c": 0.17037,
    "h": 283.6
  },
  "luminance": 0.11673
}

Semantic roles & 50–950 ramp

primary
#5C4FC0
secondary
#C8CE9D
accent
#D751C7
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5C4FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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