#5844D5#5844D5

#5844D5 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.0% C 0.211 H 281.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5844D5
RGBrgb(88, 68, 213)
HSLhsl(248, 63%, 55%)
HSVhsv(248, 68%, 84%)
CMYKcmyk(58.7%, 68.1%, 0%, 16.5%)
CIE-LABlab(39.60, 48.00, -71.77)
CIE-LCHlch(39.60, 86.34, 303.77°)
OKLaboklab(49.99% 0.0434 -0.2067)
OKLCHoklch(49.99% 0.211 281.8)
XYZxyz(18.0981, 11.0118, 64.1097)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5844D5 #C1D544
analogous
#4478D5 #5844D5 #A144D5
triadic
#5844D5 #D55844 #44D558
tetradic
#5844D5 #D54478 #C1D544 #44D5A1
square
#5844D5 #D54478 #C1D544 #44D5A1
split-complementary
#5844D5 #D5A144 #78D544
monochromatic
#2B1D82 #3C28B3 #5844D5 #8576E0 #B1A8EB

Accessibility & contrast

On white

6.56
#5844D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5844D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5844D5
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5844D5#FFFFFF#000000##FFFFFF
##5844D51.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D9
Deuteranopia (green-blind)
#0058D2
Tritanopia (blue-blind)
#006A87
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5844d5;
/* rgb */ color: rgb(88, 68, 213);
/* oklch */ color: oklch(50.0% 0.211 281.8);
Tailwind
colors: {
  custom: {
    50: '#947ae3',
    500: '#5844d5',
    950: '#000000',
  },
}
SCSS
$custom: #5844d5;
$custom-light: #947ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#5844d5",
  "rgb": {
    "r": 88,
    "g": 68,
    "b": 213
  },
  "hsl": {
    "h": 248.276,
    "s": 63.319,
    "l": 55.098
  },
  "oklch": {
    "l": 0.49988,
    "c": 0.21119,
    "h": 281.8
  },
  "luminance": 0.11013
}

Semantic roles & 50–950 ramp

primary
#5844D5
secondary
#D0D99C
accent
#E641D0
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5844D5

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

Preview Lab → · Contrast checker → · Palette generator →

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