#5847E1#5847E1

#5847E1 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.5% C 0.222 H 280.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5847E1
RGBrgb(88, 71, 225)
HSLhsl(247, 72%, 58%)
HSVhsv(247, 68%, 88%)
CMYKcmyk(60.9%, 68.4%, 0%, 11.8%)
CIE-LABlab(41.24, 49.99, -75.95)
CIE-LCHlch(41.24, 90.92, 303.35°)
OKLaboklab(51.48% 0.0392 -0.2189)
OKLCHoklch(51.48% 0.222 280.1)
XYZxyz(19.8640, 12.0160, 72.4921)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5847E1 #D0E147
analogous
#4783E1 #5847E1 #A547E1
triadic
#5847E1 #E15847 #47E158
tetradic
#5847E1 #E14783 #D0E147 #47E1A5
square
#5847E1 #E14783 #D0E147 #47E1A5
split-complementary
#5847E1 #E1A547 #83E147
monochromatic
#261895 #3421CA #5847E1 #887CEA #B8B0F2

Accessibility & contrast

On white

6.17
#5847E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5847E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5847E1
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5847E1#FFFFFF#000000##FFFFFF
##5847E11.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E6
Deuteranopia (green-blind)
#005BDE
Tritanopia (blue-blind)
#00708F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5847e1;
/* rgb */ color: rgb(88, 71, 225);
/* oklch */ color: oklch(51.5% 0.222 280.1);
Tailwind
colors: {
  custom: {
    50: '#967cec',
    500: '#5847e1',
    950: '#000000',
  },
}
SCSS
$custom: #5847e1;
$custom-light: #967cec;
$custom-dark: #000000;
JSON
{
  "hex": "#5847e1",
  "rgb": {
    "r": 88,
    "g": 71,
    "b": 225
  },
  "hsl": {
    "h": 246.623,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.51483,
    "c": 0.22241,
    "h": 280.1
  },
  "luminance": 0.12017
}

Semantic roles & 50–950 ramp

primary
#5847E1
secondary
#DAE1A3
accent
#EF39DB
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5847E1

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

Preview Lab → · Contrast checker → · Palette generator →

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