#5844DC#5844DC

#5844DC is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.6% C 0.220 H 281.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5844DC
RGBrgb(88, 68, 220)
HSLhsl(248, 68%, 56%)
HSVhsv(248, 69%, 86%)
CMYKcmyk(60%, 69.1%, 0%, 13.7%)
CIE-LABlab(40.20, 50.12, -74.79)
CIE-LCHlch(40.20, 90.03, 303.83°)
OKLaboklab(50.61% 0.0422 -0.2155)
OKLCHoklch(50.61% 0.22 281.1)
XYZxyz(19.0058, 11.3749, 68.8903)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5844DC #C8DC44
analogous
#447CDC #5844DC #A444DC
triadic
#5844DC #DC5844 #44DC58
tetradic
#5844DC #DC447C #C8DC44 #44DCA4
square
#5844DC #DC447C #C8DC44 #44DCA4
split-complementary
#5844DC #DCA444 #7CDC44
monochromatic
#291A8B #3824BF #5844DC #8678E6 #B4ABEF

Accessibility & contrast

On white

6.41
#5844DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5844DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5844DC
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5844DC#FFFFFF#000000##FFFFFF
##5844DC1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E1
Deuteranopia (green-blind)
#0059D9
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5844dc;
/* rgb */ color: rgb(88, 68, 220);
/* oklch */ color: oklch(50.6% 0.220 281.1);
Tailwind
colors: {
  custom: {
    50: '#957ae8',
    500: '#5844dc',
    950: '#000000',
  },
}
SCSS
$custom: #5844dc;
$custom-light: #957ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#5844dc",
  "rgb": {
    "r": 88,
    "g": 68,
    "b": 220
  },
  "hsl": {
    "h": 247.895,
    "s": 68.468,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50607,
    "c": 0.21965,
    "h": 281.1
  },
  "luminance": 0.11376
}

Semantic roles & 50–950 ramp

primary
#5844DC
secondary
#D5DD9F
accent
#EB3CD4
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5844DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5844DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva