#5B4FB2#5B4FB2

#5B4FB2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.2% C 0.152 H 284.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5B4FB2
RGBrgb(91, 79, 178)
HSLhsl(247, 39%, 50%)
HSVhsv(247, 56%, 70%)
CMYKcmyk(48.9%, 55.6%, 0%, 30.2%)
CIE-LABlab(39.63, 31.28, -51.32)
CIE-LCHlch(39.63, 60.10, 301.36°)
OKLaboklab(49.24% 0.0389 -0.1465)
OKLCHoklch(49.24% 0.152 284.9)
XYZxyz(15.1439, 11.0297, 43.4418)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4FB2 #A6B24F
analogous
#4F74B2 #5B4FB2 #8C4FB2
triadic
#5B4FB2 #B25B4F #4FB25B
tetradic
#5B4FB2 #B24F74 #A6B24F #4FB28C
square
#5B4FB2 #B24F74 #A6B24F #4FB28C
split-complementary
#5B4FB2 #B28C4F #74B24F
monochromatic
#2F295E #453C88 #5B4FB2 #837AC5 #AAA4D7

Accessibility & contrast

On white

6.55
#5B4FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5B4FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4FB2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4FB2#FFFFFF#000000##FFFFFF
##5B4FB21.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1460B5
Deuteranopia (green-blind)
#0E5AB0
Tritanopia (blue-blind)
#3C6579
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5b4fb2;
/* rgb */ color: rgb(91, 79, 178);
/* oklch */ color: oklch(49.2% 0.152 284.9);
Tailwind
colors: {
  custom: {
    50: '#9080ca',
    500: '#5b4fb2',
    950: '#000000',
  },
}
SCSS
$custom: #5b4fb2;
$custom-light: #9080ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4fb2",
  "rgb": {
    "r": 91,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 247.273,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49235,
    "c": 0.15156,
    "h": 284.9
  },
  "luminance": 0.1103
}

Semantic roles & 50–950 ramp

primary
#5B4FB2
secondary
#BFC498
accent
#CF59C1
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5B4FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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