#5C4FBF#5C4FBF

#5C4FBF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.3% C 0.169 H 283.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5C4FBF
RGBrgb(92, 79, 191)
HSLhsl(247, 47%, 53%)
HSVhsv(247, 59%, 75%)
CMYKcmyk(51.8%, 58.6%, 0%, 25.1%)
CIE-LABlab(40.62, 35.50, -57.35)
CIE-LCHlch(40.62, 67.45, 301.76°)
OKLaboklab(50.27% 0.0402 -0.1642)
OKLCHoklch(50.27% 0.169 283.8)
XYZxyz(16.6107, 11.6280, 50.6493)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FBF #B2BF4F
analogous
#4F7ABF #5C4FBF #944FBF
triadic
#5C4FBF #BF5C4F #4FBF5C
tetradic
#5C4FBF #BF4F7A #B2BF4F #4FBF94
square
#5C4FBF #BF4F7A #B2BF4F #4FBF94
split-complementary
#5C4FBF #BF944F #7ABF4F
monochromatic
#2F276C #433899 #5C4FBF #867CCF #AFA9E0

Accessibility & contrast

On white

6.31
#5C4FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C4FBF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FBF#FFFFFF#000000##FFFFFF
##5C4FBF1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#35697F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5c4fbf;
/* rgb */ color: rgb(92, 79, 191);
/* oklch */ color: oklch(50.3% 0.169 283.8);
Tailwind
colors: {
  custom: {
    50: '#9281d3',
    500: '#5c4fbf',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fbf;
$custom-light: #9281d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fbf",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 246.964,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50274,
    "c": 0.16904,
    "h": 283.8
  },
  "luminance": 0.11629
}

Semantic roles & 50–950 ramp

primary
#5C4FBF
secondary
#C7CD9D
accent
#D651C7
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5C4FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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