#5B4BDB#5B4BDB

#5B4BDB is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.8% C 0.210 H 281.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5B4BDB
RGBrgb(91, 75, 219)
HSLhsl(247, 67%, 58%)
HSVhsv(247, 66%, 86%)
CMYKcmyk(58.4%, 65.8%, 0%, 14.1%)
CIE-LABlab(41.80, 46.34, -71.60)
CIE-LCHlch(41.80, 85.29, 302.91°)
OKLaboklab(51.79% 0.0407 -0.2061)
OKLCHoklch(51.79% 0.21 281.2)
XYZxyz(19.6126, 12.3694, 68.3581)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4BDB #CBDB4B
analogous
#4B83DB #5B4BDB #A34BDB
triadic
#5B4BDB #DB5B4B #4BDB5B
tetradic
#5B4BDB #DB4B83 #CBDB4B #4BDBA3
square
#5B4BDB #DB4B83 #CBDB4B #4BDBA3
split-complementary
#5B4BDB #DBA34B #83DB4B
monochromatic
#291D8F #3827C2 #5B4BDB #897EE5 #B8B1EF

Accessibility & contrast

On white

6.04
#5B4BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5B4BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4BDB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4BDB#FFFFFF#000000##FFFFFF
##5B4BDB1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b4bdb;
/* rgb */ color: rgb(91, 75, 219);
/* oklch */ color: oklch(51.8% 0.210 281.2);
Tailwind
colors: {
  custom: {
    50: '#967ee7',
    500: '#5b4bdb',
    950: '#000000',
  },
}
SCSS
$custom: #5b4bdb;
$custom-light: #967ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4bdb",
  "rgb": {
    "r": 91,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 246.667,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51787,
    "c": 0.2101,
    "h": 281.2
  },
  "luminance": 0.12371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B4BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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