#5B4CCE#5B4CCE

#5B4CCE is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.9% C 0.193 H 282.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5B4CCE
RGBrgb(91, 76, 206)
HSLhsl(247, 57%, 55%)
HSVhsv(247, 63%, 81%)
CMYKcmyk(55.8%, 63.1%, 0%, 19.2%)
CIE-LABlab(40.97, 41.75, -65.48)
CIE-LCHlch(40.97, 77.66, 302.52°)
OKLaboklab(50.87% 0.0412 -0.1881)
OKLCHoklch(50.87% 0.193 282.3)
XYZxyz(18.0360, 11.8481, 59.7171)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4CCE #BFCE4C
analogous
#4C7ECE #5B4CCE #9C4CCE
triadic
#5B4CCE #CE5B4C #4CCE5B
tetradic
#5B4CCE #CE4C7E #BFCE4C #4CCE9C
square
#5B4CCE #CE4C7E #BFCE4C #4CCE9C
split-complementary
#5B4CCE #CE9C4C #7ECE4C
monochromatic
#2D227D #3E2FAD #5B4CCE #877CDB #B3ACE8

Accessibility & contrast

On white

6.23
#5B4CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5B4CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4CCE
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4CCE#FFFFFF#000000##FFFFFF
##5B4CCE1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#005CCB
Tritanopia (blue-blind)
#216C86
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5b4cce;
/* rgb */ color: rgb(91, 76, 206);
/* oklch */ color: oklch(50.9% 0.193 282.3);
Tailwind
colors: {
  custom: {
    50: '#947fde',
    500: '#5b4cce',
    950: '#000000',
  },
}
SCSS
$custom: #5b4cce;
$custom-light: #947fde;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4cce",
  "rgb": {
    "r": 91,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 246.923,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50866,
    "c": 0.19259,
    "h": 282.3
  },
  "luminance": 0.11849
}

Semantic roles & 50–950 ramp

primary
#5B4CCE
secondary
#D0D6A0
accent
#E048CF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5B4CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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