#5847DC#5847DC

#5847DC is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.0% C 0.216 H 280.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5847DC
RGBrgb(88, 71, 220)
HSLhsl(247, 68%, 57%)
HSVhsv(247, 68%, 86%)
CMYKcmyk(60%, 67.7%, 0%, 13.7%)
CIE-LABlab(40.81, 48.46, -73.80)
CIE-LCHlch(40.81, 88.29, 303.29°)
OKLaboklab(51.04% 0.0399 -0.2126)
OKLCHoklch(51.04% 0.216 280.6)
XYZxyz(19.1919, 11.7471, 68.9524)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5847DC #CBDC47
analogous
#4780DC #5847DC #A347DC
triadic
#5847DC #DC5847 #47DC58
tetradic
#5847DC #DC4780 #CBDC47 #47DCA3
square
#5847DC #DC4780 #CBDC47 #47DCA3
split-complementary
#5847DC #DCA347 #80DC47
monochromatic
#281B8E #3725C1 #5847DC #877AE6 #B5AEF0

Accessibility & contrast

On white

6.27
#5847DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5847DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5847DC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5847DC#FFFFFF#000000##FFFFFF
##5847DC1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#005BD9
Tritanopia (blue-blind)
#006E8C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5847dc;
/* rgb */ color: rgb(88, 71, 220);
/* oklch */ color: oklch(51.0% 0.216 280.6);
Tailwind
colors: {
  custom: {
    50: '#957ce8',
    500: '#5847dc',
    950: '#000000',
  },
}
SCSS
$custom: #5847dc;
$custom-light: #957ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#5847dc",
  "rgb": {
    "r": 88,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 246.846,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51042,
    "c": 0.21636,
    "h": 280.6
  },
  "luminance": 0.11748
}

Semantic roles & 50–950 ramp

primary
#5847DC
secondary
#D7DEA1
accent
#EB3DD7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5847DC

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

Preview Lab → · Contrast checker → · Palette generator →

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