#5B4BB0#5B4BB0

#5B4BB0 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.4% C 0.154 H 286.4°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#5B4BB0
RGBrgb(91, 75, 176)
HSLhsl(250, 40%, 49%)
HSVhsv(250, 57%, 69%)
CMYKcmyk(48.3%, 57.4%, 0%, 31%)
CIE-LABlab(38.53, 33.11, -51.91)
CIE-LCHlch(38.53, 61.57, 302.53°)
OKLaboklab(48.38% 0.0435 -0.1482)
OKLCHoklch(48.38% 0.154 286.4)
XYZxyz(14.6646, 10.3902, 42.2987)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4BB0 #A0B04B
analogous
#4B6EB0 #5B4BB0 #8E4BB0
triadic
#5B4BB0 #B05B4B #4BB05B
tetradic
#5B4BB0 #B04B6E #A0B04B #4BB08E
square
#5B4BB0 #B04B6E #A0B04B #4BB08E
split-complementary
#5B4BB0 #B08E4B #6EB04B
monochromatic
#2F265A #453985 #5B4BB0 #8174C4 #A89FD6

Accessibility & contrast

On white

6.82
#5B4BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5B4BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4BB0
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4BB0#FFFFFF#000000##FFFFFF
##5B4BB01.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035DB3
Deuteranopia (green-blind)
#0058AE
Tritanopia (blue-blind)
#3E6276
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5b4bb0;
/* rgb */ color: rgb(91, 75, 176);
/* oklch */ color: oklch(48.4% 0.154 286.4);
Tailwind
colors: {
  custom: {
    50: '#907ec8',
    500: '#5b4bb0',
    950: '#000000',
  },
}
SCSS
$custom: #5b4bb0;
$custom-light: #907ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4bb0",
  "rgb": {
    "r": 91,
    "g": 75,
    "b": 176
  },
  "hsl": {
    "h": 249.505,
    "s": 40.239,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48379,
    "c": 0.15449,
    "h": 286.4
  },
  "luminance": 0.10391
}

Semantic roles & 50–950 ramp

primary
#5B4BB0
secondary
#BBC394
accent
#D058BD
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5B4BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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