#5841CE#5841CE

#5841CE is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.9% C 0.206 H 283.2°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#5841CE
RGBrgb(88, 65, 206)
HSLhsl(250, 59%, 53%)
HSVhsv(250, 68%, 81%)
CMYKcmyk(57.3%, 68.4%, 0%, 19.2%)
CIE-LABlab(38.39, 47.54, -69.70)
CIE-LCHlch(38.39, 84.37, 304.30°)
OKLaboklab(48.94% 0.0469 -0.2006)
OKLCHoklch(48.94% 0.206 283.2)
XYZxyz(17.0519, 10.3104, 59.4721)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5841CE #B7CE41
analogous
#4170CE #5841CE #9E41CE
triadic
#5841CE #CE5841 #41CE58
tetradic
#5841CE #CE4170 #B7CE41 #41CE9E
square
#5841CE #CE4170 #B7CE41 #41CE9E
split-complementary
#5841CE #CE9E41 #70CE41
monochromatic
#2D1E76 #3F2BA7 #5841CE #8372DB #AEA2E7

Accessibility & contrast

On white

6.86
#5841CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5841CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5841CE
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5841CE#FFFFFF#000000##FFFFFF
##5841CE1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD2
Deuteranopia (green-blind)
#0056CB
Tritanopia (blue-blind)
#166682
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5841ce;
/* rgb */ color: rgb(88, 65, 206);
/* oklch */ color: oklch(48.9% 0.206 283.2);
Tailwind
colors: {
  custom: {
    50: '#9378de',
    500: '#5841ce',
    950: '#000000',
  },
}
SCSS
$custom: #5841ce;
$custom-light: #9378de;
$custom-dark: #000000;
JSON
{
  "hex": "#5841ce",
  "rgb": {
    "r": 88,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 249.787,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48939,
    "c": 0.20603,
    "h": 283.2
  },
  "luminance": 0.10312
}

Semantic roles & 50–950 ramp

primary
#5841CE
secondary
#CAD497
accent
#E246C9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5841CE

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

Preview Lab → · Contrast checker → · Palette generator →

#5841CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva