#5B4DBF#5B4DBF

#5B4DBF is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.8% C 0.172 H 283.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5B4DBF
RGBrgb(91, 77, 191)
HSLhsl(247, 47%, 53%)
HSVhsv(247, 60%, 75%)
CMYKcmyk(52.4%, 59.7%, 0%, 25.1%)
CIE-LABlab(40.07, 36.51, -58.24)
CIE-LCHlch(40.07, 68.74, 302.08°)
OKLaboklab(49.85% 0.0411 -0.1668)
OKLCHoklch(49.85% 0.172 283.8)
XYZxyz(16.3694, 11.2926, 50.5973)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4DBF #B1BF4D
analogous
#4D78BF #5B4DBF #944DBF
triadic
#5B4DBF #BF5B4D #4DBF5B
tetradic
#5B4DBF #BF4D78 #B1BF4D #4DBF94
square
#5B4DBF #BF4D78 #B1BF4D #4DBF94
split-complementary
#5B4DBF #BF944D #78BF4D
monochromatic
#2F276B #433798 #5B4DBF #847ACF #AEA7DF

Accessibility & contrast

On white

6.44
#5B4DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5B4DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4DBF
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4DBF#FFFFFF#000000##FFFFFF
##5B4DBF1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#33687E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5b4dbf;
/* rgb */ color: rgb(91, 77, 191);
/* oklch */ color: oklch(49.8% 0.172 283.8);
Tailwind
colors: {
  custom: {
    50: '#927fd3',
    500: '#5b4dbf',
    950: '#000000',
  },
}
SCSS
$custom: #5b4dbf;
$custom-light: #927fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4dbf",
  "rgb": {
    "r": 91,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 247.368,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49849,
    "c": 0.17183,
    "h": 283.8
  },
  "luminance": 0.11293
}

Semantic roles & 50–950 ramp

primary
#5B4DBF
secondary
#C7CD9B
accent
#D751C6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5B4DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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