#5B4AC2#5B4AC2

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

Color values

HEX#5B4AC2
RGBrgb(91, 74, 194)
HSLhsl(249, 50%, 53%)
HSVhsv(249, 62%, 76%)
CMYKcmyk(53.1%, 61.9%, 0%, 23.9%)
CIE-LABlab(39.61, 39.23, -60.74)
CIE-LCHlch(39.61, 72.31, 302.85°)
OKLaboklab(49.58% 0.044 -0.1742)
OKLCHoklch(49.58% 0.18 284.2)
XYZxyz(16.4978, 11.0158, 52.2854)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4AC2 #B1C24A
analogous
#4A75C2 #5B4AC2 #974AC2
triadic
#5B4AC2 #C25B4A #4AC25B
tetradic
#5B4AC2 #C24A75 #B1C24A #4AC297
square
#5B4AC2 #C24A75 #B1C24A #4AC297
split-complementary
#5B4AC2 #C2974A #75C24A
monochromatic
#2F256D #43349B #5B4AC2 #8478D1 #AEA6E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B4AC2#FFFFFF#000000##FFFFFF
##5B4AC21.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)
#0061C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#30677F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5b4ac2;
/* rgb */ color: rgb(91, 74, 194);
/* oklch */ color: oklch(49.6% 0.180 284.2);
Tailwind
colors: {
  custom: {
    50: '#927dd5',
    500: '#5b4ac2',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ac2;
$custom-light: #927dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ac2",
  "rgb": {
    "r": 91,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 248.5,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.4958,
    "c": 0.17969,
    "h": 284.2
  },
  "luminance": 0.11017
}

Semantic roles & 50–950 ramp

primary
#5B4AC2
secondary
#C7CE9A
accent
#D94FC6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5B4AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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