#5847CF#5847CF

#5847CF is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 49.9% C 0.200 H 282.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5847CF
RGBrgb(88, 71, 207)
HSLhsl(248, 59%, 55%)
HSVhsv(248, 66%, 81%)
CMYKcmyk(57.5%, 65.7%, 0%, 18.8%)
CIE-LABlab(39.72, 44.46, -68.11)
CIE-LCHlch(39.72, 81.33, 303.14°)
OKLaboklab(49.92% 0.0417 -0.196)
OKLCHoklch(49.92% 0.2 282)
XYZxyz(17.5367, 11.0850, 60.2349)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5847CF #BECF47
analogous
#477ACF #5847CF #9C47CF
triadic
#5847CF #CF5847 #47CF58
tetradic
#5847CF #CF477A #BECF47 #47CF9C
square
#5847CF #CF477A #BECF47 #47CF9C
split-complementary
#5847CF #CF9C47 #7ACF47
monochromatic
#2C207B #3D2DAC #5847CF #8478DC #B0A8E8

Accessibility & contrast

On white

6.53
#5847CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5847CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5847CF
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5847CF#FFFFFF#000000##FFFFFF
##5847CF1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#126A85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5847cf;
/* rgb */ color: rgb(88, 71, 207);
/* oklch */ color: oklch(49.9% 0.200 282.0);
Tailwind
colors: {
  custom: {
    50: '#937bdf',
    500: '#5847cf',
    950: '#000000',
  },
}
SCSS
$custom: #5847cf;
$custom-light: #937bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5847cf",
  "rgb": {
    "r": 88,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 247.5,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49922,
    "c": 0.20033,
    "h": 282
  },
  "luminance": 0.11086
}

Semantic roles & 50–950 ramp

primary
#5847CF
secondary
#CED69C
accent
#E246CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5847CF

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

Preview Lab → · Contrast checker → · Palette generator →

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