#5841DE#5841DE

#5841DE is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.4% C 0.225 H 281.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5841DE
RGBrgb(88, 65, 222)
HSLhsl(249, 70%, 56%)
HSVhsv(249, 71%, 87%)
CMYKcmyk(60.4%, 70.7%, 0%, 12.9%)
CIE-LABlab(39.80, 52.35, -76.61)
CIE-LCHlch(39.80, 92.78, 304.34°)
OKLaboklab(50.37% 0.0441 -0.2209)
OKLCHoklch(50.37% 0.225 281.3)
XYZxyz(19.0955, 11.1279, 70.2347)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5841DE #C7DE41
analogous
#4179DE #5841DE #A741DE
triadic
#5841DE #DE5841 #41DE58
tetradic
#5841DE #DE4179 #C7DE41 #41DEA7
square
#5841DE #DE4179 #C7DE41 #41DEA7
split-complementary
#5841DE #DEA741 #79DE41
monochromatic
#29188C #3921C0 #5841DE #8675E7 #B4A9F0

Accessibility & contrast

On white

6.51
#5841DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5841DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5841DE
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5841DE#FFFFFF#000000##FFFFFF
##5841DE1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E3
Deuteranopia (green-blind)
#0058DB
Tritanopia (blue-blind)
#006C8B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5841de;
/* rgb */ color: rgb(88, 65, 222);
/* oklch */ color: oklch(50.4% 0.225 281.3);
Tailwind
colors: {
  custom: {
    50: '#9678ea',
    500: '#5841de',
    950: '#000000',
  },
}
SCSS
$custom: #5841de;
$custom-light: #9678ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5841de",
  "rgb": {
    "r": 88,
    "g": 65,
    "b": 222
  },
  "hsl": {
    "h": 248.79,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50368,
    "c": 0.22522,
    "h": 281.3
  },
  "luminance": 0.11129
}

Semantic roles & 50–950 ramp

primary
#5841DE
secondary
#D4DE9D
accent
#ED3BD3
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5841DE

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

Preview Lab → · Contrast checker → · Palette generator →

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