#5B4ACB#5B4ACB

#5B4ACB is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.3% C 0.191 H 283.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5B4ACB
RGBrgb(91, 74, 203)
HSLhsl(248, 55%, 54%)
HSVhsv(248, 64%, 80%)
CMYKcmyk(55.2%, 63.5%, 0%, 20.4%)
CIE-LABlab(40.30, 41.99, -64.84)
CIE-LCHlch(40.30, 77.25, 302.93°)
OKLaboklab(50.3% 0.0433 -0.1863)
OKLCHoklch(50.3% 0.191 283.1)
XYZxyz(17.5393, 11.4324, 57.7708)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4ACB #BACB4A
analogous
#4A7ACB #5B4ACB #9C4ACB
triadic
#5B4ACB #CB5B4A #4ACB5B
tetradic
#5B4ACB #CB4A7A #BACB4A #4ACB9C
square
#5B4ACB #CB4A7A #BACB4A #4ACB9C
split-complementary
#5B4ACB #CB9C4A #7ACB4A
monochromatic
#2E2378 #4030A8 #5B4ACB #867AD9 #B1A9E6

Accessibility & contrast

On white

6.39
#5B4ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5B4ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4ACB
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4ACB#FFFFFF#000000##FFFFFF
##5B4ACB1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#266A84
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5b4acb;
/* rgb */ color: rgb(91, 74, 203);
/* oklch */ color: oklch(50.3% 0.191 283.1);
Tailwind
colors: {
  custom: {
    50: '#937ddc',
    500: '#5b4acb',
    950: '#000000',
  },
}
SCSS
$custom: #5b4acb;
$custom-light: #937ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4acb",
  "rgb": {
    "r": 91,
    "g": 74,
    "b": 203
  },
  "hsl": {
    "h": 247.907,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50302,
    "c": 0.19123,
    "h": 283.1
  },
  "luminance": 0.11434
}

Semantic roles & 50–950 ramp

primary
#5B4ACB
secondary
#CDD49D
accent
#DF49CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5B4ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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