#5B4CBC#5B4CBC

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

Color values

HEX#5B4CBC
RGBrgb(91, 76, 188)
HSLhsl(248, 46%, 52%)
HSVhsv(248, 60%, 74%)
CMYKcmyk(51.6%, 59.6%, 0%, 26.3%)
CIE-LABlab(39.62, 36.19, -57.22)
CIE-LCHlch(39.62, 67.70, 302.31°)
OKLaboklab(49.45% 0.0422 -0.1638)
OKLCHoklch(49.45% 0.169 284.5)
XYZxyz(15.9732, 11.0230, 48.8532)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4CBC #ADBC4C
analogous
#4C75BC #5B4CBC #934CBC
triadic
#5B4CBC #BC5B4C #4CBC5B
tetradic
#5B4CBC #BC4C75 #ADBC4C #4CBC93
square
#5B4CBC #BC4C75 #ADBC4C #4CBC93
split-complementary
#5B4CBC #BC934C #75BC4C
monochromatic
#2F2767 #443794 #5B4CBC #8479CD #ADA5DD

Accessibility & contrast

On white

6.55
#5B4CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5B4CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4CBC
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4CBC#FFFFFF#000000##FFFFFF
##5B4CBC1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b4cbc;
/* rgb */ color: rgb(91, 76, 188);
/* oklch */ color: oklch(49.4% 0.169 284.5);
Tailwind
colors: {
  custom: {
    50: '#917ed1',
    500: '#5b4cbc',
    950: '#000000',
  },
}
SCSS
$custom: #5b4cbc;
$custom-light: #917ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4cbc",
  "rgb": {
    "r": 91,
    "g": 76,
    "b": 188
  },
  "hsl": {
    "h": 248.036,
    "s": 45.528,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49449,
    "c": 0.16919,
    "h": 284.5
  },
  "luminance": 0.11024
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B4CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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