#5A4CBC#5A4CBC

#5A4CBC is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.4% C 0.169 H 284.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5A4CBC
RGBrgb(90, 76, 188)
HSLhsl(248, 46%, 52%)
HSVhsv(248, 60%, 74%)
CMYKcmyk(52.1%, 59.6%, 0%, 26.3%)
CIE-LABlab(39.53, 35.99, -57.36)
CIE-LCHlch(39.53, 67.71, 302.10°)
OKLaboklab(49.36% 0.0409 -0.1643)
OKLCHoklch(49.36% 0.169 284)
XYZxyz(15.8753, 10.9725, 48.8486)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4CBC #AEBC4C
analogous
#4C76BC #5A4CBC #924CBC
triadic
#5A4CBC #BC5A4C #4CBC5A
tetradic
#5A4CBC #BC4C76 #AEBC4C #4CBC92
square
#5A4CBC #BC4C76 #AEBC4C #4CBC92
split-complementary
#5A4CBC #BC924C #76BC4C
monochromatic
#2F2767 #433794 #5A4CBC #8379CD #ACA5DD

Accessibility & contrast

On white

6.57
#5A4CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5A4CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4CBC
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4CBC#FFFFFF#000000##FFFFFF
##5A4CBC1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#33667C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5a4cbc;
/* rgb */ color: rgb(90, 76, 188);
/* oklch */ color: oklch(49.4% 0.169 284.0);
Tailwind
colors: {
  custom: {
    50: '#917ed1',
    500: '#5a4cbc',
    950: '#000000',
  },
}
SCSS
$custom: #5a4cbc;
$custom-light: #917ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4cbc",
  "rgb": {
    "r": 90,
    "g": 76,
    "b": 188
  },
  "hsl": {
    "h": 247.5,
    "s": 45.528,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49365,
    "c": 0.16931,
    "h": 284
  },
  "luminance": 0.10973
}

Semantic roles & 50–950 ramp

primary
#5A4CBC
secondary
#C4CA99
accent
#D553C5
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5A4CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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