#5B4CDB#5B4CDB

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

Color values

HEX#5B4CDB
RGBrgb(91, 76, 219)
HSLhsl(246, 67%, 58%)
HSVhsv(246, 65%, 86%)
CMYKcmyk(58.4%, 65.3%, 0%, 14.1%)
CIE-LABlab(42.01, 45.76, -71.26)
CIE-LCHlch(42.01, 84.69, 302.71°)
OKLaboklab(51.94% 0.0399 -0.2051)
OKLCHoklch(51.94% 0.209 281)
XYZxyz(19.6810, 12.5061, 68.3809)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4CDB #CCDB4C
analogous
#4C84DB #5B4CDB #A34CDB
triadic
#5B4CDB #DB5B4C #4CDB5B
tetradic
#5B4CDB #DB4C84 #CCDB4C #4CDBA3
square
#5B4CDB #DB4C84 #CCDB4C #4CDBA3
split-complementary
#5B4CDB #DBA34C #84DB4C
monochromatic
#291D90 #3727C3 #5B4CDB #8A7FE5 #B8B2EF

Accessibility & contrast

On white

6.00
#5B4CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5B4CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4CDB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4CDB#FFFFFF#000000##FFFFFF
##5B4CDB1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#00718D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5b4cdb;
/* rgb */ color: rgb(91, 76, 219);
/* oklch */ color: oklch(51.9% 0.209 281.0);
Tailwind
colors: {
  custom: {
    50: '#967fe7',
    500: '#5b4cdb',
    950: '#000000',
  },
}
SCSS
$custom: #5b4cdb;
$custom-light: #967fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4cdb",
  "rgb": {
    "r": 91,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 246.294,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5194,
    "c": 0.20894,
    "h": 281
  },
  "luminance": 0.12508
}

Semantic roles & 50–950 ramp

primary
#5B4CDB
secondary
#D8DEA5
accent
#E93ED7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5B4CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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