#5B4ADE#5B4ADE

#5B4ADE is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.9% C 0.215 H 281.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5B4ADE
RGBrgb(91, 74, 222)
HSLhsl(247, 69%, 58%)
HSVhsv(247, 67%, 87%)
CMYKcmyk(59%, 66.7%, 0%, 12.9%)
CIE-LABlab(41.84, 47.82, -73.25)
CIE-LCHlch(41.84, 87.48, 303.14°)
OKLaboklab(51.89% 0.0412 -0.211)
OKLCHoklch(51.89% 0.215 281)
XYZxyz(19.9438, 12.3942, 70.4345)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4ADE #CDDE4A
analogous
#4A83DE #5B4ADE #A54ADE
triadic
#5B4ADE #DE5B4A #4ADE5B
tetradic
#5B4ADE #DE4A83 #CDDE4A #4ADEA5
square
#5B4ADE #DE4A83 #CDDE4A #4ADEA5
split-complementary
#5B4ADE #DEA54A #83DE4A
monochromatic
#291B93 #3724C7 #5B4ADE #8A7EE7 #B9B2F1

Accessibility & contrast

On white

6.04
#5B4ADE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5B4ADE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4ADE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4ADE#FFFFFF#000000##FFFFFF
##5B4ADE1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E3
Deuteranopia (green-blind)
#005DDB
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5b4ade;
/* rgb */ color: rgb(91, 74, 222);
/* oklch */ color: oklch(51.9% 0.215 281.0);
Tailwind
colors: {
  custom: {
    50: '#977ee9',
    500: '#5b4ade',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ade;
$custom-light: #977ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ade",
  "rgb": {
    "r": 91,
    "g": 74,
    "b": 222
  },
  "hsl": {
    "h": 246.892,
    "s": 69.159,
    "l": 58.039
  },
  "oklch": {
    "l": 0.51891,
    "c": 0.21494,
    "h": 281
  },
  "luminance": 0.12396
}

Semantic roles & 50–950 ramp

primary
#5B4ADE
secondary
#D9DFA4
accent
#EC3CD8
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5B4ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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