#5B4ABE#5B4ABE

#5B4ABE is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.3% C 0.174 H 284.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5B4ABE
RGBrgb(91, 74, 190)
HSLhsl(249, 47%, 52%)
HSVhsv(249, 61%, 75%)
CMYKcmyk(52.1%, 61.1%, 0%, 25.5%)
CIE-LABlab(39.31, 38.00, -58.89)
CIE-LCHlch(39.31, 70.09, 302.83°)
OKLaboklab(49.27% 0.0442 -0.1688)
OKLCHoklch(49.27% 0.174 284.7)
XYZxyz(16.0546, 10.8386, 49.9513)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4ABE #ADBE4A
analogous
#4A73BE #5B4ABE #954ABE
triadic
#5B4ABE #BE5B4A #4ABE5B
tetradic
#5B4ABE #BE4A73 #ADBE4A #4ABE95
square
#5B4ABE #BE4A73 #ADBE4A #4ABE95
split-complementary
#5B4ABE #BE954A #73BE4A
monochromatic
#2F2568 #443695 #5B4ABE #8477CE #ADA4DE

Accessibility & contrast

On white

6.63
#5B4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5B4ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4ABE
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4ABE#FFFFFF#000000##FFFFFF
##5B4ABE1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#34667D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5b4abe;
/* rgb */ color: rgb(91, 74, 190);
/* oklch */ color: oklch(49.3% 0.174 284.7);
Tailwind
colors: {
  custom: {
    50: '#927dd2',
    500: '#5b4abe',
    950: '#000000',
  },
}
SCSS
$custom: #5b4abe;
$custom-light: #927dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4abe",
  "rgb": {
    "r": 91,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 248.793,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49267,
    "c": 0.17448,
    "h": 284.7
  },
  "luminance": 0.10839
}

Semantic roles & 50–950 ramp

primary
#5B4ABE
secondary
#C4CB98
accent
#D751C3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5B4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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