#5B4ADB#5B4ADB

#5B4ADB is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.6% C 0.211 H 281.3°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5B4ADB
RGBrgb(91, 74, 219)
HSLhsl(247, 67%, 57%)
HSVhsv(247, 66%, 86%)
CMYKcmyk(58.4%, 66.2%, 0%, 14.1%)
CIE-LABlab(41.59, 46.90, -71.95)
CIE-LCHlch(41.59, 85.89, 303.10°)
OKLaboklab(51.64% 0.0415 -0.2071)
OKLCHoklch(51.64% 0.211 281.3)
XYZxyz(19.5453, 12.2348, 68.3357)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4ADB #CADB4A
analogous
#4A82DB #5B4ADB #A34ADB
triadic
#5B4ADB #DB5B4A #4ADB5B
tetradic
#5B4ADB #DB4A82 #CADB4A #4ADBA3
square
#5B4ADB #DB4A82 #CADB4A #4ADBA3
split-complementary
#5B4ADB #DBA34A #82DB4A
monochromatic
#2A1C8E #3926C1 #5B4ADB #897DE5 #B8B0EF

Accessibility & contrast

On white

6.09
#5B4ADB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5B4ADB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4ADB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4ADB#FFFFFF#000000##FFFFFF
##5B4ADB1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#005DD8
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5b4adb;
/* rgb */ color: rgb(91, 74, 219);
/* oklch */ color: oklch(51.6% 0.211 281.3);
Tailwind
colors: {
  custom: {
    50: '#967ee7',
    500: '#5b4adb',
    950: '#000000',
  },
}
SCSS
$custom: #5b4adb;
$custom-light: #967ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4adb",
  "rgb": {
    "r": 91,
    "g": 74,
    "b": 219
  },
  "hsl": {
    "h": 247.034,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51635,
    "c": 0.21125,
    "h": 281.3
  },
  "luminance": 0.12236
}

Semantic roles & 50–950 ramp

primary
#5B4ADB
secondary
#D7DEA3
accent
#EA3ED6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5B4ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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