#5C4BCB#5C4BCB

#5C4BCB is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.5% C 0.190 H 283.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5C4BCB
RGBrgb(92, 75, 203)
HSLhsl(248, 55%, 55%)
HSVhsv(248, 63%, 80%)
CMYKcmyk(54.7%, 63.1%, 0%, 20.4%)
CIE-LABlab(40.60, 41.58, -64.35)
CIE-LCHlch(40.60, 76.61, 302.87°)
OKLaboklab(50.54% 0.0436 -0.1848)
OKLCHoklch(50.54% 0.19 283.3)
XYZxyz(17.7059, 11.6182, 57.7979)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4BCB #BACB4B
analogous
#4B7ACB #5C4BCB #9C4BCB
triadic
#5C4BCB #CB5C4B #4BCB5C
tetradic
#5C4BCB #CB4B7A #BACB4B #4BCB9C
square
#5C4BCB #CB4B7A #BACB4B #4BCB9C
split-complementary
#5C4BCB #CB9C4B #7ACB4B
monochromatic
#2E2379 #4031A8 #5C4BCB #877AD9 #B2AAE6

Accessibility & contrast

On white

6.32
#5C4BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C4BCB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4BCB#FFFFFF#000000##FFFFFF
##5C4BCB1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#296A84
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5c4bcb;
/* rgb */ color: rgb(92, 75, 203);
/* oklch */ color: oklch(50.5% 0.190 283.3);
Tailwind
colors: {
  custom: {
    50: '#947edc',
    500: '#5c4bcb',
    950: '#000000',
  },
}
SCSS
$custom: #5c4bcb;
$custom-light: #947edc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4bcb",
  "rgb": {
    "r": 92,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 247.969,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50543,
    "c": 0.18986,
    "h": 283.3
  },
  "luminance": 0.11619
}

Semantic roles & 50–950 ramp

primary
#5C4BCB
secondary
#CDD49E
accent
#DF49CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5C4BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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