#5B4DDC#5B4DDC

#5B4DDC is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.2% C 0.209 H 280.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5B4DDC
RGBrgb(91, 77, 220)
HSLhsl(246, 67%, 58%)
HSVhsv(246, 65%, 86%)
CMYKcmyk(58.6%, 65%, 0%, 13.7%)
CIE-LABlab(42.30, 45.50, -71.35)
CIE-LCHlch(42.30, 84.62, 302.53°)
OKLaboklab(52.18% 0.0389 -0.2054)
OKLCHoklch(52.18% 0.209 280.7)
XYZxyz(19.8825, 12.6978, 69.0995)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4DDC #CEDC4D
analogous
#4D86DC #5B4DDC #A24DDC
triadic
#5B4DDC #DC5B4D #4DDC5B
tetradic
#5B4DDC #DC4D86 #CEDC4D #4DDCA2
square
#5B4DDC #DC4D86 #CEDC4D #4DDCA2
split-complementary
#5B4DDC #DCA24D #86DC4D
monochromatic
#281D92 #3627C5 #5B4DDC #8A80E6 #B9B3F0

Accessibility & contrast

On white

5.93
#5B4DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5B4DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4DDC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4DDC#FFFFFF#000000##FFFFFF
##5B4DDC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#00718E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b4ddc;
/* rgb */ color: rgb(91, 77, 220);
/* oklch */ color: oklch(52.2% 0.209 280.7);
Tailwind
colors: {
  custom: {
    50: '#9680e8',
    500: '#5b4ddc',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ddc;
$custom-light: #9680e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ddc",
  "rgb": {
    "r": 91,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 245.874,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52179,
    "c": 0.20901,
    "h": 280.7
  },
  "luminance": 0.12699
}

Semantic roles & 50–950 ramp

primary
#5B4DDC
secondary
#D9DFA6
accent
#EA3ED9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5B4DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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