#5847CD#5847CD

#5847CD is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.8% C 0.198 H 282.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5847CD
RGBrgb(88, 71, 205)
HSLhsl(248, 57%, 54%)
HSVhsv(248, 65%, 80%)
CMYKcmyk(57.1%, 65.4%, 0%, 19.6%)
CIE-LABlab(39.56, 43.84, -67.22)
CIE-LCHlch(39.56, 80.25, 303.12°)
OKLaboklab(49.75% 0.0419 -0.1933)
OKLCHoklch(49.75% 0.198 282.2)
XYZxyz(17.2938, 10.9878, 58.9553)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5847CD #BCCD47
analogous
#4779CD #5847CD #9B47CD
triadic
#5847CD #CD5847 #47CD58
tetradic
#5847CD #CD4779 #BCCD47 #47CD9B
square
#5847CD #CD4779 #BCCD47 #47CD9B
split-complementary
#5847CD #CD9B47 #79CD47
monochromatic
#2C2179 #3E2EA9 #5847CD #8477DA #AFA7E7

Accessibility & contrast

On white

6.57
#5847CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5847CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5847CD
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5847CD#FFFFFF#000000##FFFFFF
##5847CD1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#176984
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5847cd;
/* rgb */ color: rgb(88, 71, 205);
/* oklch */ color: oklch(49.8% 0.198 282.2);
Tailwind
colors: {
  custom: {
    50: '#927bdd',
    500: '#5847cd',
    950: '#000000',
  },
}
SCSS
$custom: #5847cd;
$custom-light: #927bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5847cd",
  "rgb": {
    "r": 88,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 247.612,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49753,
    "c": 0.19783,
    "h": 282.2
  },
  "luminance": 0.10989
}

Semantic roles & 50–950 ramp

primary
#5847CD
secondary
#CDD49B
accent
#E147CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5847CD

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

Preview Lab → · Contrast checker → · Palette generator →

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