#5C4BCA#5C4BCA

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

Color values

HEX#5C4BCA
RGBrgb(92, 75, 202)
HSLhsl(248, 55%, 54%)
HSVhsv(248, 63%, 79%)
CMYKcmyk(54.5%, 62.9%, 0%, 20.8%)
CIE-LABlab(40.53, 41.27, -63.89)
CIE-LCHlch(40.53, 76.07, 302.86°)
OKLaboklab(50.46% 0.0437 -0.1834)
OKLCHoklch(50.46% 0.189 283.4)
XYZxyz(17.5871, 11.5707, 57.1723)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4BCA #B9CA4B
analogous
#4B7ACA #5C4BCA #9B4BCA
triadic
#5C4BCA #CA5C4B #4BCA5C
tetradic
#5C4BCA #CA4B7A #B9CA4B #4BCA9B
square
#5C4BCA #CA4B7A #B9CA4B #4BCA9B
split-complementary
#5C4BCA #CA9B4B #7ACA4B
monochromatic
#2E2377 #4131A7 #5C4BCA #877AD8 #B2AAE6

Accessibility & contrast

On white

6.34
#5C4BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5C4BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4BCA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4BCA#FFFFFF#000000##FFFFFF
##5C4BCA1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#2A6A83
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5c4bca;
/* rgb */ color: rgb(92, 75, 202);
/* oklch */ color: oklch(50.5% 0.189 283.4);
Tailwind
colors: {
  custom: {
    50: '#947edb',
    500: '#5c4bca',
    950: '#000000',
  },
}
SCSS
$custom: #5c4bca;
$custom-light: #947edb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4bca",
  "rgb": {
    "r": 92,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 248.031,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50463,
    "c": 0.18859,
    "h": 283.4
  },
  "luminance": 0.11572
}

Semantic roles & 50–950 ramp

primary
#5C4BCA
secondary
#CCD39D
accent
#DE4ACA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5C4BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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