#5B47CF#5B47CF

#5B47CF is a mid, vivid blue. Relative luminance 0.112; OKLCH L 50.2% C 0.200 H 283.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5B47CF
RGBrgb(91, 71, 207)
HSLhsl(249, 59%, 55%)
HSVhsv(249, 66%, 81%)
CMYKcmyk(56%, 65.7%, 0%, 18.8%)
CIE-LABlab(39.97, 44.95, -67.69)
CIE-LCHlch(39.97, 81.25, 303.58°)
OKLaboklab(50.16% 0.0456 -0.1946)
OKLCHoklch(50.16% 0.2 283.2)
XYZxyz(17.8266, 11.2345, 60.2485)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B47CF #BBCF47
analogous
#4777CF #5B47CF #9F47CF
triadic
#5B47CF #CF5B47 #47CF5B
tetradic
#5B47CF #CF4777 #BBCF47 #47CF9F
square
#5B47CF #CF4777 #BBCF47 #47CF9F
split-complementary
#5B47CF #CF9F47 #77CF47
monochromatic
#2E207B #402DAC #5B47CF #8678DC #B2A8E8

Accessibility & contrast

On white

6.47
#5B47CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5B47CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B47CF
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B47CF#FFFFFF#000000##FFFFFF
##5B47CF1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#216985
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5b47cf;
/* rgb */ color: rgb(91, 71, 207);
/* oklch */ color: oklch(50.2% 0.200 283.2);
Tailwind
colors: {
  custom: {
    50: '#947cdf',
    500: '#5b47cf',
    950: '#000000',
  },
}
SCSS
$custom: #5b47cf;
$custom-light: #947cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5b47cf",
  "rgb": {
    "r": 91,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 248.824,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50164,
    "c": 0.19991,
    "h": 283.2
  },
  "luminance": 0.11236
}

Semantic roles & 50–950 ramp

primary
#5B47CF
secondary
#CDD69C
accent
#E246CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5B47CF

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

Preview Lab → · Contrast checker → · Palette generator →

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