#5B4CCF#5B4CCF

#5B4CCF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.9% C 0.194 H 282.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5B4CCF
RGBrgb(91, 76, 207)
HSLhsl(247, 58%, 55%)
HSVhsv(247, 63%, 81%)
CMYKcmyk(56%, 63.3%, 0%, 18.8%)
CIE-LABlab(41.05, 42.06, -65.93)
CIE-LCHlch(41.05, 78.20, 302.53°)
OKLaboklab(50.95% 0.0411 -0.1895)
OKLCHoklch(50.95% 0.194 282.2)
XYZxyz(18.1578, 11.8969, 60.3589)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4CCF #C0CF4C
analogous
#4C7ECF #5B4CCF #9C4CCF
triadic
#5B4CCF #CF5B4C #4CCF5B
tetradic
#5B4CCF #CF4C7E #C0CF4C #4CCF9C
square
#5B4CCF #CF4C7E #C0CF4C #4CCF9C
split-complementary
#5B4CCF #CF9C4C #7ECF4C
monochromatic
#2D227F #3E2FAF #5B4CCF #877CDC #B3ADE9

Accessibility & contrast

On white

6.21
#5B4CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5B4CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4CCF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4CCF#FFFFFF#000000##FFFFFF
##5B4CCF1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#206C86
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5b4ccf;
/* rgb */ color: rgb(91, 76, 207);
/* oklch */ color: oklch(50.9% 0.194 282.2);
Tailwind
colors: {
  custom: {
    50: '#947fdf',
    500: '#5b4ccf',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ccf;
$custom-light: #947fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ccf",
  "rgb": {
    "r": 91,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 246.87,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50947,
    "c": 0.19386,
    "h": 282.2
  },
  "luminance": 0.11898
}

Semantic roles & 50–950 ramp

primary
#5B4CCF
secondary
#D0D7A0
accent
#E147CF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5B4CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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