#5844E1#5844E1

#5844E1 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 51.1% C 0.226 H 280.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5844E1
RGBrgb(88, 68, 225)
HSLhsl(248, 72%, 57%)
HSVhsv(248, 70%, 88%)
CMYKcmyk(60.9%, 69.8%, 0%, 11.8%)
CIE-LABlab(40.64, 51.63, -76.93)
CIE-LCHlch(40.64, 92.65, 303.87°)
OKLaboklab(51.05% 0.0414 -0.2218)
OKLCHoklch(51.05% 0.226 280.6)
XYZxyz(19.6779, 11.6437, 72.4301)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5844E1 #CDE144
analogous
#447FE1 #5844E1 #A644E1
triadic
#5844E1 #E15844 #44E158
tetradic
#5844E1 #E1447F #CDE144 #44E1A6
square
#5844E1 #E1447F #CDE144 #44E1A6
split-complementary
#5844E1 #E1A644 #7FE144
monochromatic
#271893 #3520C8 #5844E1 #8779E9 #B6ADF2

Accessibility & contrast

On white

6.31
#5844E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5844E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5844E1
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5844E1#FFFFFF#000000##FFFFFF
##5844E11.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E6
Deuteranopia (green-blind)
#005ADE
Tritanopia (blue-blind)
#006E8E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5844e1;
/* rgb */ color: rgb(88, 68, 225);
/* oklch */ color: oklch(51.1% 0.226 280.6);
Tailwind
colors: {
  custom: {
    50: '#967aec',
    500: '#5844e1',
    950: '#000000',
  },
}
SCSS
$custom: #5844e1;
$custom-light: #967aec;
$custom-dark: #000000;
JSON
{
  "hex": "#5844e1",
  "rgb": {
    "r": 88,
    "g": 68,
    "b": 225
  },
  "hsl": {
    "h": 247.643,
    "s": 72.35,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51055,
    "c": 0.22563,
    "h": 280.6
  },
  "luminance": 0.11645
}

Semantic roles & 50–950 ramp

primary
#5844E1
secondary
#D8E0A1
accent
#EF39D8
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5844E1

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

Preview Lab → · Contrast checker → · Palette generator →

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