#5847CB#5847CB

#5847CB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.6% C 0.195 H 282.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5847CB
RGBrgb(88, 71, 203)
HSLhsl(248, 56%, 54%)
HSVhsv(248, 65%, 80%)
CMYKcmyk(56.7%, 65%, 0%, 20.4%)
CIE-LABlab(39.40, 43.23, -66.33)
CIE-LCHlch(39.40, 79.17, 303.09°)
OKLaboklab(49.59% 0.0421 -0.1907)
OKLCHoklch(49.59% 0.195 282.5)
XYZxyz(17.0539, 10.8919, 57.6920)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5847CB #BACB47
analogous
#4778CB #5847CB #9A47CB
triadic
#5847CB #CB5847 #47CB58
tetradic
#5847CB #CB4778 #BACB47 #47CB9A
square
#5847CB #CB4778 #BACB47 #47CB9A
split-complementary
#5847CB #CB9A47 #78CB47
monochromatic
#2C2176 #3E2FA6 #5847CB #8377D8 #AFA6E6

Accessibility & contrast

On white

6.61
#5847CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5847CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5847CB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5847CB#FFFFFF#000000##FFFFFF
##5847CB1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#1B6883
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5847cb;
/* rgb */ color: rgb(88, 71, 203);
/* oklch */ color: oklch(49.6% 0.195 282.5);
Tailwind
colors: {
  custom: {
    50: '#927bdc',
    500: '#5847cb',
    950: '#000000',
  },
}
SCSS
$custom: #5847cb;
$custom-light: #927bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5847cb",
  "rgb": {
    "r": 88,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 247.727,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49585,
    "c": 0.19532,
    "h": 282.5
  },
  "luminance": 0.10893
}

Semantic roles & 50–950 ramp

primary
#5847CB
secondary
#CCD39B
accent
#DF49CC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5847CB

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

Preview Lab → · Contrast checker → · Palette generator →

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