#5C4FBE#5C4FBE

#5C4FBE is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.2% C 0.168 H 283.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5C4FBE
RGBrgb(92, 79, 190)
HSLhsl(247, 46%, 53%)
HSVhsv(247, 58%, 75%)
CMYKcmyk(51.6%, 58.4%, 0%, 25.5%)
CIE-LABlab(40.55, 35.19, -56.88)
CIE-LCHlch(40.55, 66.89, 301.75°)
OKLaboklab(50.2% 0.0402 -0.1628)
OKLCHoklch(50.2% 0.168 283.9)
XYZxyz(16.5011, 11.5841, 50.0717)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FBE #B1BE4F
analogous
#4F79BE #5C4FBE #934FBE
triadic
#5C4FBE #BE5C4F #4FBE5C
tetradic
#5C4FBE #BE4F79 #B1BE4F #4FBE93
square
#5C4FBE #BE4F79 #B1BE4F #4FBE93
split-complementary
#5C4FBE #BE934F #79BE4F
monochromatic
#2F286B #433898 #5C4FBE #857CCF #AFA8DF

Accessibility & contrast

On white

6.33
#5C4FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5C4FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FBE
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FBE#FFFFFF#000000##FFFFFF
##5C4FBE1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#36697F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5c4fbe;
/* rgb */ color: rgb(92, 79, 190);
/* oklch */ color: oklch(50.2% 0.168 283.9);
Tailwind
colors: {
  custom: {
    50: '#9281d2',
    500: '#5c4fbe',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fbe;
$custom-light: #9281d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fbe",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 247.027,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50199,
    "c": 0.1677,
    "h": 283.9
  },
  "luminance": 0.11585
}

Semantic roles & 50–950 ramp

primary
#5C4FBE
secondary
#C7CC9C
accent
#D652C6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5C4FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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