#5B4BBF#5B4BBF

#5B4BBF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.5% C 0.174 H 284.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5B4BBF
RGBrgb(91, 75, 191)
HSLhsl(248, 48%, 52%)
HSVhsv(248, 61%, 75%)
CMYKcmyk(52.4%, 60.7%, 0%, 25.1%)
CIE-LABlab(39.61, 37.71, -58.99)
CIE-LCHlch(39.61, 70.01, 302.59°)
OKLaboklab(49.51% 0.0431 -0.169)
OKLCHoklch(49.51% 0.174 284.3)
XYZxyz(16.2316, 11.0170, 50.5513)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4BBF #AFBF4B
analogous
#4B75BF #5B4BBF #954BBF
triadic
#5B4BBF #BF5B4B #4BBF5B
tetradic
#5B4BBF #BF4B75 #AFBF4B #4BBF95
square
#5B4BBF #BF4B75 #AFBF4B #4BBF95
split-complementary
#5B4BBF #BF954B #75BF4B
monochromatic
#2F266A #433697 #5B4BBF #8478CF #ADA5DF

Accessibility & contrast

On white

6.56
#5B4BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5B4BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4BBF
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4BBF#FFFFFF#000000##FFFFFF
##5B4BBF1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#33667E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5b4bbf;
/* rgb */ color: rgb(91, 75, 191);
/* oklch */ color: oklch(49.5% 0.174 284.3);
Tailwind
colors: {
  custom: {
    50: '#927ed3',
    500: '#5b4bbf',
    950: '#000000',
  },
}
SCSS
$custom: #5b4bbf;
$custom-light: #927ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4bbf",
  "rgb": {
    "r": 91,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 248.276,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49511,
    "c": 0.17447,
    "h": 284.3
  },
  "luminance": 0.11018
}

Semantic roles & 50–950 ramp

primary
#5B4BBF
secondary
#C5CC9A
accent
#D751C5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5B4BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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