#5844D9#5844D9

#5844D9 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.3% C 0.216 H 281.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5844D9
RGBrgb(88, 68, 217)
HSLhsl(248, 66%, 56%)
HSVhsv(248, 69%, 85%)
CMYKcmyk(59.4%, 68.7%, 0%, 14.9%)
CIE-LABlab(39.94, 49.21, -73.50)
CIE-LCHlch(39.94, 88.45, 303.80°)
OKLaboklab(50.34% 0.0427 -0.2118)
OKLCHoklch(50.34% 0.216 281.4)
XYZxyz(18.6121, 11.2174, 66.8166)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5844D9 #C5D944
analogous
#447AD9 #5844D9 #A244D9
triadic
#5844D9 #D95844 #44D958
tetradic
#5844D9 #D9447A #C5D944 #44D9A2
square
#5844D9 #D9447A #C5D944 #44D9A2
split-complementary
#5844D9 #D9A244 #7AD944
monochromatic
#2A1B87 #3A26BA #5844D9 #8577E3 #B3AAEE

Accessibility & contrast

On white

6.47
#5844D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5844D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5844D9
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5844D9#FFFFFF#000000##FFFFFF
##5844D91.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DE
Deuteranopia (green-blind)
#0059D6
Tritanopia (blue-blind)
#006C89
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5844d9;
/* rgb */ color: rgb(88, 68, 217);
/* oklch */ color: oklch(50.3% 0.216 281.4);
Tailwind
colors: {
  custom: {
    50: '#957ae6',
    500: '#5844d9',
    950: '#000000',
  },
}
SCSS
$custom: #5844d9;
$custom-light: #957ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#5844d9",
  "rgb": {
    "r": 88,
    "g": 68,
    "b": 217
  },
  "hsl": {
    "h": 248.054,
    "s": 66.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50341,
    "c": 0.21604,
    "h": 281.4
  },
  "luminance": 0.11219
}

Semantic roles & 50–950 ramp

primary
#5844D9
secondary
#D3DB9E
accent
#E93FD2
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5844D9

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

Preview Lab → · Contrast checker → · Palette generator →

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