#5847EE#5847EE

#5847EE is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.7% C 0.238 H 279.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5847EE
RGBrgb(88, 71, 238)
HSLhsl(246, 83%, 61%)
HSVhsv(246, 70%, 93%)
CMYKcmyk(63%, 70.2%, 0%, 6.7%)
CIE-LABlab(42.39, 53.95, -81.43)
CIE-LCHlch(42.39, 97.68, 303.52°)
OKLaboklab(52.65% 0.037 -0.235)
OKLCHoklch(52.65% 0.238 279)
XYZxyz(21.7054, 12.7525, 82.1900)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5847EE #DDEE47
analogous
#4789EE #5847EE #AC47EE
triadic
#5847EE #EE5847 #47EE58
tetradic
#5847EE #EE4789 #DDEE47 #47EEAC
square
#5847EE #EE4789 #DDEE47 #47EEAC
split-complementary
#5847EE #EEAC47 #89EE47
monochromatic
#2010AB #2A15E3 #5847EE #8B7FF3 #BEB7F8

Accessibility & contrast

On white

5.91
#5847EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5847EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5847EE
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5847EE#FFFFFF#000000##FFFFFF
##5847EE1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AF3
Deuteranopia (green-blind)
#005DEB
Tritanopia (blue-blind)
#007596
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5847ee;
/* rgb */ color: rgb(88, 71, 238);
/* oklch */ color: oklch(52.7% 0.238 279.0);
Tailwind
colors: {
  custom: {
    50: '#987cf5',
    500: '#5847ee',
    950: '#000000',
  },
}
SCSS
$custom: #5847ee;
$custom-light: #987cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5847ee",
  "rgb": {
    "r": 88,
    "g": 71,
    "b": 238
  },
  "hsl": {
    "h": 246.108,
    "s": 83.085,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52653,
    "c": 0.23789,
    "h": 279
  },
  "luminance": 0.12754
}

Semantic roles & 50–950 ramp

primary
#5847EE
secondary
#E2E8A9
accent
#E006C9
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5847EE

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

Preview Lab → · Contrast checker → · Palette generator →

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