#5844C8#5844C8

#5844C8 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.9% C 0.195 H 283.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5844C8
RGBrgb(88, 68, 200)
HSLhsl(249, 55%, 53%)
HSVhsv(249, 66%, 78%)
CMYKcmyk(56%, 66%, 0%, 21.6%)
CIE-LABlab(38.51, 44.03, -66.03)
CIE-LCHlch(38.51, 79.36, 303.70°)
OKLaboklab(48.87% 0.0452 -0.1898)
OKLCHoklch(48.87% 0.195 283.4)
XYZxyz(16.5138, 10.3781, 55.7654)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5844C8 #B4C844
analogous
#4472C8 #5844C8 #9A44C8
triadic
#5844C8 #C85844 #44C858
tetradic
#5844C8 #C84472 #B4C844 #44C89A
square
#5844C8 #C84472 #B4C844 #44C89A
split-complementary
#5844C8 #C89A44 #72C844
monochromatic
#2D2171 #402FA0 #5844C8 #8273D6 #ACA3E4

Accessibility & contrast

On white

6.83
#5844C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5844C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5844C8
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5844C8#FFFFFF#000000##FFFFFF
##5844C81.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0056C5
Tritanopia (blue-blind)
#216580
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5844c8;
/* rgb */ color: rgb(88, 68, 200);
/* oklch */ color: oklch(48.9% 0.195 283.4);
Tailwind
colors: {
  custom: {
    50: '#9279da',
    500: '#5844c8',
    950: '#000000',
  },
}
SCSS
$custom: #5844c8;
$custom-light: #9279da;
$custom-dark: #000000;
JSON
{
  "hex": "#5844c8",
  "rgb": {
    "r": 88,
    "g": 68,
    "b": 200
  },
  "hsl": {
    "h": 249.091,
    "s": 54.545,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48869,
    "c": 0.19515,
    "h": 283.4
  },
  "luminance": 0.10379
}

Semantic roles & 50–950 ramp

primary
#5844C8
secondary
#C8D197
accent
#DE4AC7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5844C8

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

Preview Lab → · Contrast checker → · Palette generator →

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