#5C4FBD#5C4FBD

#5C4FBD is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.1% C 0.166 H 284.0°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5C4FBD
RGBrgb(92, 79, 189)
HSLhsl(247, 45%, 53%)
HSVhsv(247, 58%, 74%)
CMYKcmyk(51.3%, 58.2%, 0%, 25.9%)
CIE-LABlab(40.48, 34.88, -56.41)
CIE-LCHlch(40.48, 66.32, 301.73°)
OKLaboklab(50.12% 0.0403 -0.1614)
OKLCHoklch(50.12% 0.166 284)
XYZxyz(16.3922, 11.5405, 49.4980)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FBD #B0BD4F
analogous
#4F79BD #5C4FBD #934FBD
triadic
#5C4FBD #BD5C4F #4FBD5C
tetradic
#5C4FBD #BD4F79 #B0BD4F #4FBD93
square
#5C4FBD #BD4F79 #B0BD4F #4FBD93
split-complementary
#5C4FBD #BD934F #79BD4F
monochromatic
#30286A #443896 #5C4FBD #857CCE #AEA8DE

Accessibility & contrast

On white

6.35
#5C4FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5C4FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FBD
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FBD#FFFFFF#000000##FFFFFF
##5C4FBD1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#36687E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5c4fbd;
/* rgb */ color: rgb(92, 79, 189);
/* oklch */ color: oklch(50.1% 0.166 284.0);
Tailwind
colors: {
  custom: {
    50: '#9281d2',
    500: '#5c4fbd',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fbd;
$custom-light: #9281d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fbd",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 247.091,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50124,
    "c": 0.16636,
    "h": 284
  },
  "luminance": 0.11541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C4FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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