#5B4BCF#5B4BCF

#5B4BCF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.8% C 0.195 H 282.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5B4BCF
RGBrgb(91, 75, 207)
HSLhsl(247, 58%, 55%)
HSVhsv(247, 64%, 81%)
CMYKcmyk(56%, 63.8%, 0%, 18.8%)
CIE-LABlab(40.83, 42.64, -66.29)
CIE-LCHlch(40.83, 78.82, 302.75°)
OKLaboklab(50.79% 0.042 -0.1905)
OKLCHoklch(50.79% 0.195 282.4)
XYZxyz(18.0895, 11.7602, 60.3361)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4BCF #BFCF4B
analogous
#4B7DCF #5B4BCF #9D4BCF
triadic
#5B4BCF #CF5B4B #4BCF5B
tetradic
#5B4BCF #CF4B7D #BFCF4B #4BCF9D
square
#5B4BCF #CF4B7D #BFCF4B #4BCF9D
split-complementary
#5B4BCF #CF9D4B #7DCF4B
monochromatic
#2D227E #3E2EAE #5B4BCF #877BDC #B3ACE9

Accessibility & contrast

On white

6.26
#5B4BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5B4BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4BCF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4BCF#FFFFFF#000000##FFFFFF
##5B4BCF1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#206C86
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5b4bcf;
/* rgb */ color: rgb(91, 75, 207);
/* oklch */ color: oklch(50.8% 0.195 282.4);
Tailwind
colors: {
  custom: {
    50: '#947edf',
    500: '#5b4bcf',
    950: '#000000',
  },
}
SCSS
$custom: #5b4bcf;
$custom-light: #947edf;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4bcf",
  "rgb": {
    "r": 91,
    "g": 75,
    "b": 207
  },
  "hsl": {
    "h": 247.273,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50787,
    "c": 0.19508,
    "h": 282.4
  },
  "luminance": 0.11761
}

Semantic roles & 50–950 ramp

primary
#5B4BCF
secondary
#D0D69F
accent
#E147CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5B4BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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