#5C4FBC#5C4FBC

#5C4FBC is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.0% C 0.165 H 284.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5C4FBC
RGBrgb(92, 79, 188)
HSLhsl(247, 45%, 52%)
HSVhsv(247, 58%, 74%)
CMYKcmyk(51.1%, 58%, 0%, 26.3%)
CIE-LABlab(40.41, 34.57, -55.94)
CIE-LCHlch(40.41, 65.76, 301.72°)
OKLaboklab(50.05% 0.0403 -0.16)
OKLCHoklch(50.05% 0.165 284.1)
XYZxyz(16.2840, 11.4973, 48.9284)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FBC #AFBC4F
analogous
#4F79BC #5C4FBC #934FBC
triadic
#5C4FBC #BC5C4F #4FBC5C
tetradic
#5C4FBC #BC4F79 #AFBC4F #4FBC93
square
#5C4FBC #BC4F79 #AFBC4F #4FBC93
split-complementary
#5C4FBC #BC934F #79BC4F
monochromatic
#302869 #443995 #5C4FBC #857BCD #AEA8DE

Accessibility & contrast

On white

6.36
#5C4FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5C4FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FBC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FBC#FFFFFF#000000##FFFFFF
##5C4FBC1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#37687E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5c4fbc;
/* rgb */ color: rgb(92, 79, 188);
/* oklch */ color: oklch(50.0% 0.165 284.1);
Tailwind
colors: {
  custom: {
    50: '#9281d1',
    500: '#5c4fbc',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fbc;
$custom-light: #9281d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fbc",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 247.156,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50049,
    "c": 0.16503,
    "h": 284.1
  },
  "luminance": 0.11498
}

Semantic roles & 50–950 ramp

primary
#5C4FBC
secondary
#C5CB9C
accent
#D553C5
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5C4FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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