#5844E2#5844E2

#5844E2 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.1% C 0.227 H 280.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5844E2
RGBrgb(88, 68, 226)
HSLhsl(248, 73%, 58%)
HSVhsv(248, 70%, 89%)
CMYKcmyk(61.1%, 69.9%, 0%, 11.4%)
CIE-LABlab(40.73, 51.94, -77.35)
CIE-LCHlch(40.73, 93.17, 303.88°)
OKLaboklab(51.15% 0.0412 -0.223)
OKLCHoklch(51.15% 0.227 280.5)
XYZxyz(19.8148, 11.6985, 73.1506)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5844E2 #CEE244
analogous
#447FE2 #5844E2 #A744E2
triadic
#5844E2 #E25844 #44E258
tetradic
#5844E2 #E2447F #CEE244 #44E2A7
square
#5844E2 #E2447F #CEE244 #44E2A7
split-complementary
#5844E2 #E2A744 #7FE244
monochromatic
#271795 #351FCA #5844E2 #8779EA #B7AEF2

Accessibility & contrast

On white

6.29
#5844E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5844E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5844E2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5844E2#FFFFFF#000000##FFFFFF
##5844E21.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#005ADF
Tritanopia (blue-blind)
#006F8E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5844e2;
/* rgb */ color: rgb(88, 68, 226);
/* oklch */ color: oklch(51.1% 0.227 280.5);
Tailwind
colors: {
  custom: {
    50: '#967aec',
    500: '#5844e2',
    950: '#000000',
  },
}
SCSS
$custom: #5844e2;
$custom-light: #967aec;
$custom-dark: #000000;
JSON
{
  "hex": "#5844e2",
  "rgb": {
    "r": 88,
    "g": 68,
    "b": 226
  },
  "hsl": {
    "h": 247.595,
    "s": 73.148,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51146,
    "c": 0.22682,
    "h": 280.5
  },
  "luminance": 0.117
}

Semantic roles & 50–950 ramp

primary
#5844E2
secondary
#D9E1A1
accent
#F038D9
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5844E2

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

Preview Lab → · Contrast checker → · Palette generator →

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