#5B4CD0#5B4CD0

#5B4CD0 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 51.0% C 0.195 H 282.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5B4CD0
RGBrgb(91, 76, 208)
HSLhsl(247, 58%, 56%)
HSVhsv(247, 63%, 82%)
CMYKcmyk(56.2%, 63.5%, 0%, 18.4%)
CIE-LABlab(41.13, 42.37, -66.38)
CIE-LCHlch(41.13, 78.75, 302.55°)
OKLaboklab(51.03% 0.041 -0.1908)
OKLCHoklch(51.03% 0.195 282.1)
XYZxyz(18.2805, 11.9459, 61.0048)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4CD0 #C1D04C
analogous
#4C7FD0 #5B4CD0 #9D4CD0
triadic
#5B4CD0 #D05B4C #4CD05B
tetradic
#5B4CD0 #D04C7F #C1D04C #4CD09D
square
#5B4CD0 #D04C7F #C1D04C #4CD09D
split-complementary
#5B4CD0 #D09D4C #7FD04C
monochromatic
#2C2280 #3D2EB0 #5B4CD0 #877CDD #B4ADE9

Accessibility & contrast

On white

6.20
#5B4CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5B4CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4CD0
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4CD0#FFFFFF#000000##FFFFFF
##5B4CD01.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D4
Deuteranopia (green-blind)
#005CCD
Tritanopia (blue-blind)
#1E6D87
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5b4cd0;
/* rgb */ color: rgb(91, 76, 208);
/* oklch */ color: oklch(51.0% 0.195 282.1);
Tailwind
colors: {
  custom: {
    50: '#947fdf',
    500: '#5b4cd0',
    950: '#000000',
  },
}
SCSS
$custom: #5b4cd0;
$custom-light: #947fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4cd0",
  "rgb": {
    "r": 91,
    "g": 76,
    "b": 208
  },
  "hsl": {
    "h": 246.818,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51029,
    "c": 0.19513,
    "h": 282.1
  },
  "luminance": 0.11947
}

Semantic roles & 50–950 ramp

primary
#5B4CD0
secondary
#D1D7A0
accent
#E246D0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5B4CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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