#5C4BB2#5C4BB2

#5C4BB2 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.6% C 0.157 H 286.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#5C4BB2
RGBrgb(92, 75, 178)
HSLhsl(250, 41%, 50%)
HSVhsv(250, 58%, 70%)
CMYKcmyk(48.3%, 57.9%, 0%, 30.2%)
CIE-LABlab(38.76, 33.94, -52.72)
CIE-LCHlch(38.76, 62.70, 302.77°)
OKLaboklab(48.61% 0.0448 -0.1506)
OKLCHoklch(48.61% 0.157 286.6)
XYZxyz(14.9632, 10.5211, 43.3532)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4BB2 #A1B24B
analogous
#4B6EB2 #5C4BB2 #904BB2
triadic
#5C4BB2 #B25C4B #4BB25C
tetradic
#5C4BB2 #B24B6E #A1B24B #4BB290
square
#5C4BB2 #B24B6E #A1B24B #4BB290
split-complementary
#5C4BB2 #B2904B #6EB24B
monochromatic
#2F275C #463987 #5C4BB2 #8275C5 #A9A0D7

Accessibility & contrast

On white

6.76
#5C4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5C4BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4BB2
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4BB2#FFFFFF#000000##FFFFFF
##5C4BB21.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#3F6277
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5c4bb2;
/* rgb */ color: rgb(92, 75, 178);
/* oklch */ color: oklch(48.6% 0.157 286.6);
Tailwind
colors: {
  custom: {
    50: '#907eca',
    500: '#5c4bb2',
    950: '#000000',
  },
}
SCSS
$custom: #5c4bb2;
$custom-light: #907eca;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4bb2",
  "rgb": {
    "r": 92,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 249.903,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48614,
    "c": 0.15711,
    "h": 286.6
  },
  "luminance": 0.10522
}

Semantic roles & 50–950 ramp

primary
#5C4BB2
secondary
#BCC495
accent
#D157BD
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5C4BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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