#5B4EBE#5B4EBE

#5B4EBE is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.9% C 0.169 H 283.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5B4EBE
RGBrgb(91, 78, 190)
HSLhsl(247, 46%, 53%)
HSVhsv(247, 59%, 75%)
CMYKcmyk(52.1%, 58.9%, 0%, 25.5%)
CIE-LABlab(40.23, 35.60, -57.40)
CIE-LCHlch(40.23, 67.54, 301.81°)
OKLaboklab(49.94% 0.04 -0.1644)
OKLCHoklch(49.94% 0.169 283.7)
XYZxyz(16.3302, 11.3897, 50.0432)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4EBE #B1BE4E
analogous
#4E79BE #5B4EBE #934EBE
triadic
#5B4EBE #BE5B4E #4EBE5B
tetradic
#5B4EBE #BE4E79 #B1BE4E #4EBE93
square
#5B4EBE #BE4E79 #B1BE4E #4EBE93
split-complementary
#5B4EBE #BE934E #79BE4E
monochromatic
#2F276A #433897 #5B4EBE #847BCE #AEA8DF

Accessibility & contrast

On white

6.41
#5B4EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5B4EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4EBE
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4EBE#FFFFFF#000000##FFFFFF
##5B4EBE1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#33687E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5b4ebe;
/* rgb */ color: rgb(91, 78, 190);
/* oklch */ color: oklch(49.9% 0.169 283.7);
Tailwind
colors: {
  custom: {
    50: '#9180d2',
    500: '#5b4ebe',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ebe;
$custom-light: #9180d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ebe",
  "rgb": {
    "r": 91,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 246.964,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49944,
    "c": 0.16916,
    "h": 283.7
  },
  "luminance": 0.11391
}

Semantic roles & 50–950 ramp

primary
#5B4EBE
secondary
#C7CC9C
accent
#D652C7
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5B4EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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