#5847E4#5847E4

#5847E4 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.7% C 0.226 H 279.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5847E4
RGBrgb(88, 71, 228)
HSLhsl(246, 74%, 59%)
HSVhsv(246, 69%, 89%)
CMYKcmyk(61.4%, 68.9%, 0%, 10.6%)
CIE-LABlab(41.50, 50.91, -77.23)
CIE-LCHlch(41.50, 92.49, 303.39°)
OKLaboklab(51.75% 0.0387 -0.2227)
OKLCHoklch(51.75% 0.226 279.9)
XYZxyz(20.2769, 12.1811, 74.6664)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5847E4 #D3E447
analogous
#4784E4 #5847E4 #A647E4
triadic
#5847E4 #E45847 #47E458
tetradic
#5847E4 #E44784 #D3E447 #47E4A6
square
#5847E4 #E44784 #D3E447 #47E4A6
split-complementary
#5847E4 #E4A647 #84E447
monochromatic
#25179A #321ECF #5847E4 #887CEC #B9B2F4

Accessibility & contrast

On white

6.11
#5847E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5847E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5847E4
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5847E4#FFFFFF#000000##FFFFFF
##5847E41.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E9
Deuteranopia (green-blind)
#005CE1
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5847e4;
/* rgb */ color: rgb(88, 71, 228);
/* oklch */ color: oklch(51.7% 0.226 279.9);
Tailwind
colors: {
  custom: {
    50: '#967cee',
    500: '#5847e4',
    950: '#000000',
  },
}
SCSS
$custom: #5847e4;
$custom-light: #967cee;
$custom-dark: #000000;
JSON
{
  "hex": "#5847e4",
  "rgb": {
    "r": 88,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 246.497,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5175,
    "c": 0.22602,
    "h": 279.9
  },
  "luminance": 0.12183
}

Semantic roles & 50–950 ramp

primary
#5847E4
secondary
#DCE2A4
accent
#F137DD
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5847E4

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

Preview Lab → · Contrast checker → · Palette generator →

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