#5C4BCD#5C4BCD

#5C4BCD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.7% C 0.192 H 283.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5C4BCD
RGBrgb(92, 75, 205)
HSLhsl(248, 57%, 55%)
HSVhsv(248, 63%, 80%)
CMYKcmyk(55.1%, 63.4%, 0%, 19.6%)
CIE-LABlab(40.76, 42.20, -65.25)
CIE-LCHlch(40.76, 77.70, 302.89°)
OKLaboklab(50.71% 0.0435 -0.1874)
OKLCHoklch(50.71% 0.192 283.1)
XYZxyz(17.9458, 11.7142, 59.0612)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4BCD #BCCD4B
analogous
#4B7BCD #5C4BCD #9D4BCD
triadic
#5C4BCD #CD5C4B #4BCD5C
tetradic
#5C4BCD #CD4B7B #BCCD4B #4BCD9D
square
#5C4BCD #CD4B7B #BCCD4B #4BCD9D
split-complementary
#5C4BCD #CD9D4B #7BCD4B
monochromatic
#2E227B #4030AB #5C4BCD #877BDA #B3ABE8

Accessibility & contrast

On white

6.28
#5C4BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5C4BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4BCD
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4BCD#FFFFFF#000000##FFFFFF
##5C4BCD1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#266B85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5c4bcd;
/* rgb */ color: rgb(92, 75, 205);
/* oklch */ color: oklch(50.7% 0.192 283.1);
Tailwind
colors: {
  custom: {
    50: '#947edd',
    500: '#5c4bcd',
    950: '#000000',
  },
}
SCSS
$custom: #5c4bcd;
$custom-light: #947edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4bcd",
  "rgb": {
    "r": 92,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 247.846,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50705,
    "c": 0.1924,
    "h": 283.1
  },
  "luminance": 0.11715
}

Semantic roles & 50–950 ramp

primary
#5C4BCD
secondary
#CED59F
accent
#E048CC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5C4BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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