#5847C8#5847C8

#5847C8 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.3% C 0.192 H 282.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5847C8
RGBrgb(88, 71, 200)
HSLhsl(248, 54%, 53%)
HSVhsv(248, 65%, 78%)
CMYKcmyk(56%, 64.5%, 0%, 21.6%)
CIE-LABlab(39.16, 42.30, -64.98)
CIE-LCHlch(39.16, 77.53, 303.06°)
OKLaboklab(49.34% 0.0424 -0.1868)
OKLCHoklch(49.34% 0.192 282.8)
XYZxyz(16.6999, 10.7503, 55.8274)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5847C8 #B7C847
analogous
#4776C8 #5847C8 #9847C8
triadic
#5847C8 #C85847 #47C858
tetradic
#5847C8 #C84776 #B7C847 #47C898
square
#5847C8 #C84776 #B7C847 #47C898
split-complementary
#5847C8 #C89847 #76C847
monochromatic
#2D2272 #3F30A2 #5847C8 #8376D6 #AEA5E4

Accessibility & contrast

On white

6.67
#5847C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5847C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5847C8
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5847C8#FFFFFF#000000##FFFFFF
##5847C81.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0058C5
Tritanopia (blue-blind)
#206781
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5847c8;
/* rgb */ color: rgb(88, 71, 200);
/* oklch */ color: oklch(49.3% 0.192 282.8);
Tailwind
colors: {
  custom: {
    50: '#927bda',
    500: '#5847c8',
    950: '#000000',
  },
}
SCSS
$custom: #5847c8;
$custom-light: #927bda;
$custom-dark: #000000;
JSON
{
  "hex": "#5847c8",
  "rgb": {
    "r": 88,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 247.907,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49335,
    "c": 0.19152,
    "h": 282.8
  },
  "luminance": 0.10751
}

Semantic roles & 50–950 ramp

primary
#5847C8
secondary
#CAD19A
accent
#DD4ACA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5847C8

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

Preview Lab → · Contrast checker → · Palette generator →

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