#5B4CAF#5B4CAF

#5B4CAF is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.5% C 0.152 H 286.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5B4CAF
RGBrgb(91, 76, 175)
HSLhsl(249, 39%, 49%)
HSVhsv(249, 57%, 69%)
CMYKcmyk(48%, 56.6%, 0%, 31.4%)
CIE-LABlab(38.70, 32.20, -51.04)
CIE-LCHlch(38.70, 60.35, 302.24°)
OKLaboklab(48.48% 0.0424 -0.1457)
OKLCHoklch(48.48% 0.152 286.2)
XYZxyz(14.6344, 10.4875, 41.8023)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4CAF #A0AF4C
analogous
#4C6FAF #5B4CAF #8D4CAF
triadic
#5B4CAF #AF5B4C #4CAF5B
tetradic
#5B4CAF #AF4C6F #A0AF4C #4CAF8D
square
#5B4CAF #AF4C6F #A0AF4C #4CAF8D
split-complementary
#5B4CAF #AF8D4C #6FAF4C
monochromatic
#2F275A #453984 #5B4CAF #8175C3 #A8A0D6

Accessibility & contrast

On white

6.78
#5B4CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5B4CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4CAF
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4CAF#FFFFFF#000000##FFFFFF
##5B4CAF1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5EB2
Deuteranopia (green-blind)
#0A58AD
Tritanopia (blue-blind)
#3F6276
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5b4caf;
/* rgb */ color: rgb(91, 76, 175);
/* oklch */ color: oklch(48.5% 0.152 286.2);
Tailwind
colors: {
  custom: {
    50: '#8f7ec7',
    500: '#5b4caf',
    950: '#000000',
  },
}
SCSS
$custom: #5b4caf;
$custom-light: #8f7ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4caf",
  "rgb": {
    "r": 91,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 249.091,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48483,
    "c": 0.15171,
    "h": 286.2
  },
  "luminance": 0.10488
}

Semantic roles & 50–950 ramp

primary
#5B4CAF
secondary
#BBC294
accent
#CF58BD
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5B4CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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