#5847D8#5847D8

#5847D8 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.7% C 0.211 H 281.0°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5847D8
RGBrgb(88, 71, 216)
HSLhsl(247, 65%, 56%)
HSVhsv(247, 67%, 85%)
CMYKcmyk(59.3%, 67.1%, 0%, 15.3%)
CIE-LABlab(40.47, 47.23, -72.06)
CIE-LCHlch(40.47, 86.16, 303.24°)
OKLaboklab(50.69% 0.0405 -0.2076)
OKLCHoklch(50.69% 0.211 281)
XYZxyz(18.6685, 11.5377, 66.1957)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5847D8 #C7D847
analogous
#477FD8 #5847D8 #A047D8
triadic
#5847D8 #D85847 #47D858
tetradic
#5847D8 #D8477F #C7D847 #47D8A0
square
#5847D8 #D8477F #C7D847 #47D8A0
split-complementary
#5847D8 #D8A047 #7FD847
monochromatic
#291D88 #3927BA #5847D8 #8679E3 #B4ACED

Accessibility & contrast

On white

6.35
#5847D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5847D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5847D8
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5847D8#FFFFFF#000000##FFFFFF
##5847D81.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DC
Deuteranopia (green-blind)
#005AD5
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5847d8;
/* rgb */ color: rgb(88, 71, 216);
/* oklch */ color: oklch(50.7% 0.211 281.0);
Tailwind
colors: {
  custom: {
    50: '#947ce5',
    500: '#5847d8',
    950: '#000000',
  },
}
SCSS
$custom: #5847d8;
$custom-light: #947ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#5847d8",
  "rgb": {
    "r": 88,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 247.034,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50693,
    "c": 0.21147,
    "h": 281
  },
  "luminance": 0.11539
}

Semantic roles & 50–950 ramp

primary
#5847D8
secondary
#D4DBA0
accent
#E840D4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5847D8

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

Preview Lab → · Contrast checker → · Palette generator →

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