#5B4CCD#5B4CCD

#5B4CCD is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.8% C 0.191 H 282.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5B4CCD
RGBrgb(91, 76, 205)
HSLhsl(247, 56%, 55%)
HSVhsv(247, 63%, 80%)
CMYKcmyk(55.6%, 62.9%, 0%, 19.6%)
CIE-LABlab(40.90, 41.44, -65.03)
CIE-LCHlch(40.90, 77.11, 302.51°)
OKLaboklab(50.79% 0.0412 -0.1868)
OKLCHoklch(50.79% 0.191 282.4)
XYZxyz(17.9149, 11.7997, 59.0793)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4CCD #BECD4C
analogous
#4C7DCD #5B4CCD #9C4CCD
triadic
#5B4CCD #CD5B4C #4CCD5B
tetradic
#5B4CCD #CD4C7D #BECD4C #4CCD9C
square
#5B4CCD #CD4C7D #BECD4C #4CCD9C
split-complementary
#5B4CCD #CD9C4C #7DCD4C
monochromatic
#2D237C #3E30AC #5B4CCD #877CDA #B3ACE8

Accessibility & contrast

On white

6.25
#5B4CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5B4CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4CCD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4CCD#FFFFFF#000000##FFFFFF
##5B4CCD1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#236C85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5b4ccd;
/* rgb */ color: rgb(91, 76, 205);
/* oklch */ color: oklch(50.8% 0.191 282.4);
Tailwind
colors: {
  custom: {
    50: '#947fdd',
    500: '#5b4ccd',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ccd;
$custom-light: #947fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ccd",
  "rgb": {
    "r": 91,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 246.977,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50785,
    "c": 0.19131,
    "h": 282.4
  },
  "luminance": 0.11801
}

Semantic roles & 50–950 ramp

primary
#5B4CCD
secondary
#CFD59F
accent
#E048CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5B4CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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