#5B4ADC#5B4ADC

#5B4ADC is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.7% C 0.212 H 281.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5B4ADC
RGBrgb(91, 74, 220)
HSLhsl(247, 68%, 58%)
HSVhsv(247, 66%, 86%)
CMYKcmyk(58.6%, 66.4%, 0%, 13.7%)
CIE-LABlab(41.67, 47.21, -72.38)
CIE-LCHlch(41.67, 86.42, 303.11°)
OKLaboklab(51.72% 0.0414 -0.2084)
OKLCHoklch(51.72% 0.212 281.2)
XYZxyz(19.6774, 12.2877, 69.0311)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4ADC #CBDC4A
analogous
#4A82DC #5B4ADC #A44ADC
triadic
#5B4ADC #DC5B4A #4ADC5B
tetradic
#5B4ADC #DC4A82 #CBDC4A #4ADCA4
square
#5B4ADC #DC4A82 #CBDC4A #4ADCA4
split-complementary
#5B4ADC #DCA44A #82DC4A
monochromatic
#291C90 #3826C3 #5B4ADC #897DE6 #B8B1F0

Accessibility & contrast

On white

6.07
#5B4ADC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5B4ADC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4ADC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4ADC#FFFFFF#000000##FFFFFF
##5B4ADC1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#00708D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5b4adc;
/* rgb */ color: rgb(91, 74, 220);
/* oklch */ color: oklch(51.7% 0.212 281.2);
Tailwind
colors: {
  custom: {
    50: '#967ee8',
    500: '#5b4adc',
    950: '#000000',
  },
}
SCSS
$custom: #5b4adc;
$custom-light: #967ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4adc",
  "rgb": {
    "r": 91,
    "g": 74,
    "b": 220
  },
  "hsl": {
    "h": 246.986,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5172,
    "c": 0.21248,
    "h": 281.2
  },
  "luminance": 0.12289
}

Semantic roles & 50–950 ramp

primary
#5B4ADC
secondary
#D7DEA4
accent
#EA3DD6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5B4ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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