#5844D6#5844D6

#5844D6 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.1% C 0.212 H 281.7°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5844D6
RGBrgb(88, 68, 214)
HSLhsl(248, 64%, 55%)
HSVhsv(248, 68%, 84%)
CMYKcmyk(58.9%, 68.2%, 0%, 16.1%)
CIE-LABlab(39.69, 48.30, -72.20)
CIE-LCHlch(39.69, 86.87, 303.78°)
OKLaboklab(50.08% 0.0432 -0.208)
OKLCHoklch(50.08% 0.212 281.7)
XYZxyz(18.2254, 11.0627, 64.7802)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5844D6 #C2D644
analogous
#4479D6 #5844D6 #A144D6
triadic
#5844D6 #D65844 #44D658
tetradic
#5844D6 #D64479 #C2D644 #44D6A1
square
#5844D6 #D64479 #C2D644 #44D6A1
split-complementary
#5844D6 #D6A144 #79D644
monochromatic
#2B1D83 #3B28B5 #5844D6 #8576E1 #B2A8EC

Accessibility & contrast

On white

6.54
#5844D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5844D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5844D6
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5844D6#FFFFFF#000000##FFFFFF
##5844D61.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DA
Deuteranopia (green-blind)
#0058D3
Tritanopia (blue-blind)
#006A88
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5844d6;
/* rgb */ color: rgb(88, 68, 214);
/* oklch */ color: oklch(50.1% 0.212 281.7);
Tailwind
colors: {
  custom: {
    50: '#947ae4',
    500: '#5844d6',
    950: '#000000',
  },
}
SCSS
$custom: #5844d6;
$custom-light: #947ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#5844d6",
  "rgb": {
    "r": 88,
    "g": 68,
    "b": 214
  },
  "hsl": {
    "h": 248.219,
    "s": 64.035,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50076,
    "c": 0.2124,
    "h": 281.7
  },
  "luminance": 0.11064
}

Semantic roles & 50–950 ramp

primary
#5844D6
secondary
#D1D99C
accent
#E741D0
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5844D6

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

Preview Lab → · Contrast checker → · Palette generator →

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