#5847BD#5847BD

#5847BD is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.4% C 0.177 H 284.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#5847BD
RGBrgb(88, 71, 189)
HSLhsl(249, 47%, 51%)
HSVhsv(249, 62%, 74%)
CMYKcmyk(53.4%, 62.4%, 0%, 25.9%)
CIE-LABlab(38.30, 38.91, -59.96)
CIE-LCHlch(38.30, 71.48, 302.98°)
OKLaboklab(48.44% 0.0434 -0.172)
OKLCHoklch(48.44% 0.177 284.2)
XYZxyz(15.4603, 10.2544, 49.2989)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5847BD #ACBD47
analogous
#4771BD #5847BD #9347BD
triadic
#5847BD #BD5847 #47BD58
tetradic
#5847BD #BD4771 #ACBD47 #47BD93
square
#5847BD #BD4771 #ACBD47 #47BD93
split-complementary
#5847BD #BD9347 #71BD47
monochromatic
#2E2465 #423492 #5847BD #8174CD #AAA1DD

Accessibility & contrast

On white

6.88
#5847BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5847BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5847BD
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5847BD#FFFFFF#000000##FFFFFF
##5847BD1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#2D647B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5847bd;
/* rgb */ color: rgb(88, 71, 189);
/* oklch */ color: oklch(48.4% 0.177 284.2);
Tailwind
colors: {
  custom: {
    50: '#907bd2',
    500: '#5847bd',
    950: '#000000',
  },
}
SCSS
$custom: #5847bd;
$custom-light: #907bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5847bd",
  "rgb": {
    "r": 88,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 248.644,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48439,
    "c": 0.17742,
    "h": 284.2
  },
  "luminance": 0.10255
}

Semantic roles & 50–950 ramp

primary
#5847BD
secondary
#C3CA96
accent
#D751C4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5847BD

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

Preview Lab → · Contrast checker → · Palette generator →

#5847BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva