#5847D2#5847D2

#5847D2 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.2% C 0.204 H 281.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5847D2
RGBrgb(88, 71, 210)
HSLhsl(247, 61%, 55%)
HSVhsv(247, 66%, 82%)
CMYKcmyk(58.1%, 66.2%, 0%, 17.6%)
CIE-LABlab(39.97, 45.39, -69.43)
CIE-LCHlch(39.97, 82.95, 303.17°)
OKLaboklab(50.18% 0.0413 -0.1998)
OKLCHoklch(50.18% 0.204 281.7)
XYZxyz(17.9070, 11.2331, 62.1849)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5847D2 #C1D247
analogous
#477CD2 #5847D2 #9D47D2
triadic
#5847D2 #D25847 #47D258
tetradic
#5847D2 #D2477C #C1D247 #47D29D
square
#5847D2 #D2477C #C1D247 #47D29D
split-complementary
#5847D2 #D29D47 #7CD247
monochromatic
#2B1F7F #3C2BB1 #5847D2 #8578DE #B1A9EA

Accessibility & contrast

On white

6.47
#5847D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5847D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5847D2
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5847D2#FFFFFF#000000##FFFFFF
##5847D21.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)
#0063D6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#086B86
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5847d2;
/* rgb */ color: rgb(88, 71, 210);
/* oklch */ color: oklch(50.2% 0.204 281.7);
Tailwind
colors: {
  custom: {
    50: '#937be1',
    500: '#5847d2',
    950: '#000000',
  },
}
SCSS
$custom: #5847d2;
$custom-light: #937be1;
$custom-dark: #000000;
JSON
{
  "hex": "#5847d2",
  "rgb": {
    "r": 88,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 247.338,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50177,
    "c": 0.20407,
    "h": 281.7
  },
  "luminance": 0.11234
}

Semantic roles & 50–950 ramp

primary
#5847D2
secondary
#D0D89D
accent
#E444D0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5847D2

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

Preview Lab → · Contrast checker → · Palette generator →

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