#5B4BCE#5B4BCE

#5B4BCE is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.7% C 0.194 H 282.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5B4BCE
RGBrgb(91, 75, 206)
HSLhsl(247, 57%, 55%)
HSVhsv(247, 64%, 81%)
CMYKcmyk(55.8%, 63.6%, 0%, 19.2%)
CIE-LABlab(40.75, 42.33, -65.84)
CIE-LCHlch(40.75, 78.27, 302.74°)
OKLaboklab(50.71% 0.0421 -0.1892)
OKLCHoklch(50.71% 0.194 282.5)
XYZxyz(17.9676, 11.7114, 59.6943)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4BCE #BECE4B
analogous
#4B7DCE #5B4BCE #9C4BCE
triadic
#5B4BCE #CE5B4B #4BCE5B
tetradic
#5B4BCE #CE4B7D #BECE4B #4BCE9C
square
#5B4BCE #CE4B7D #BECE4B #4BCE9C
split-complementary
#5B4BCE #CE9C4B #7DCE4B
monochromatic
#2D227D #3E2FAD #5B4BCE #877BDB #B3ABE8

Accessibility & contrast

On white

6.28
#5B4BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5B4BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4BCE
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4BCE#FFFFFF#000000##FFFFFF
##5B4BCE1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#005CCB
Tritanopia (blue-blind)
#226B86
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5b4bce;
/* rgb */ color: rgb(91, 75, 206);
/* oklch */ color: oklch(50.7% 0.194 282.5);
Tailwind
colors: {
  custom: {
    50: '#947ede',
    500: '#5b4bce',
    950: '#000000',
  },
}
SCSS
$custom: #5b4bce;
$custom-light: #947ede;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4bce",
  "rgb": {
    "r": 91,
    "g": 75,
    "b": 206
  },
  "hsl": {
    "h": 247.328,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50706,
    "c": 0.19381,
    "h": 282.5
  },
  "luminance": 0.11713
}

Semantic roles & 50–950 ramp

primary
#5B4BCE
secondary
#CFD69F
accent
#E047CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5B4BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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