#5847DB#5847DB

#5847DB is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.0% C 0.215 H 280.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5847DB
RGBrgb(88, 71, 219)
HSLhsl(247, 67%, 57%)
HSVhsv(247, 68%, 86%)
CMYKcmyk(59.8%, 67.6%, 0%, 14.1%)
CIE-LABlab(40.73, 48.15, -73.37)
CIE-LCHlch(40.73, 87.76, 303.28°)
OKLaboklab(50.96% 0.0401 -0.2114)
OKLCHoklch(50.96% 0.215 280.7)
XYZxyz(19.0599, 11.6943, 68.2569)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5847DB #CADB47
analogous
#4780DB #5847DB #A247DB
triadic
#5847DB #DB5847 #47DB58
tetradic
#5847DB #DB4780 #CADB47 #47DBA2
square
#5847DB #DB4780 #CADB47 #47DBA2
split-complementary
#5847DB #DBA247 #80DB47
monochromatic
#281B8C #3725BF #5847DB #867AE5 #B5ADEF

Accessibility & contrast

On white

6.29
#5847DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5847DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5847DB
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5847DB#FFFFFF#000000##FFFFFF
##5847DB1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#005AD8
Tritanopia (blue-blind)
#006E8B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5847db;
/* rgb */ color: rgb(88, 71, 219);
/* oklch */ color: oklch(51.0% 0.215 280.7);
Tailwind
colors: {
  custom: {
    50: '#957ce7',
    500: '#5847db',
    950: '#000000',
  },
}
SCSS
$custom: #5847db;
$custom-light: #957ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5847db",
  "rgb": {
    "r": 88,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 246.892,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50955,
    "c": 0.21514,
    "h": 280.7
  },
  "luminance": 0.11696
}

Semantic roles & 50–950 ramp

primary
#5847DB
secondary
#D6DDA1
accent
#EA3ED6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5847DB

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

Preview Lab → · Contrast checker → · Palette generator →

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