#5C4FCB#5C4FCB

#5C4FCB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.2% C 0.185 H 282.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5C4FCB
RGBrgb(92, 79, 203)
HSLhsl(246, 54%, 55%)
HSVhsv(246, 61%, 80%)
CMYKcmyk(54.7%, 61.1%, 0%, 20.4%)
CIE-LABlab(41.50, 39.22, -62.89)
CIE-LCHlch(41.50, 74.12, 301.95°)
OKLaboklab(51.2% 0.0398 -0.1805)
OKLCHoklch(51.2% 0.185 282.4)
XYZxyz(17.9858, 12.1780, 57.8912)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FCB #BECB4F
analogous
#4F80CB #5C4FCB #9A4FCB
triadic
#5C4FCB #CB5C4F #4FCB5C
tetradic
#5C4FCB #CB4F80 #BECB4F #4FCB9A
square
#5C4FCB #CB4F80 #BECB4F #4FCB9A
split-complementary
#5C4FCB #CB9A4F #80CB4F
monochromatic
#2D247B #3F32AA #5C4FCB #887ED9 #B4ADE7

Accessibility & contrast

On white

6.11
#5C4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5C4FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FCB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FCB#FFFFFF#000000##FFFFFF
##5C4FCB1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#286D85
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5c4fcb;
/* rgb */ color: rgb(92, 79, 203);
/* oklch */ color: oklch(51.2% 0.185 282.4);
Tailwind
colors: {
  custom: {
    50: '#9481dc',
    500: '#5c4fcb',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fcb;
$custom-light: #9481dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fcb",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 246.29,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51197,
    "c": 0.18481,
    "h": 282.4
  },
  "luminance": 0.12179
}

Semantic roles & 50–950 ramp

primary
#5C4FCB
secondary
#CFD5A1
accent
#DE4ACE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5C4FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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