#5841CF#5841CF

#5841CF is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.0% C 0.207 H 283.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5841CF
RGBrgb(88, 65, 207)
HSLhsl(250, 60%, 53%)
HSVhsv(250, 69%, 81%)
CMYKcmyk(57.5%, 68.6%, 0%, 18.8%)
CIE-LABlab(38.48, 47.84, -70.14)
CIE-LCHlch(38.48, 84.91, 304.30°)
OKLaboklab(49.03% 0.0467 -0.2019)
OKLCHoklch(49.03% 0.207 283)
XYZxyz(17.1738, 10.3592, 60.1139)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5841CF #B8CF41
analogous
#4171CF #5841CF #9F41CF
triadic
#5841CF #CF5841 #41CF58
tetradic
#5841CF #CF4171 #B8CF41 #41CF9F
square
#5841CF #CF4171 #B8CF41 #41CF9F
split-complementary
#5841CF #CF9F41 #71CF41
monochromatic
#2D1E77 #3F2BA8 #5841CF #8372DB #AEA3E8

Accessibility & contrast

On white

6.84
#5841CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5841CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5841CF
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5841CF#FFFFFF#000000##FFFFFF
##5841CF1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD3
Deuteranopia (green-blind)
#0056CC
Tritanopia (blue-blind)
#146683
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5841cf;
/* rgb */ color: rgb(88, 65, 207);
/* oklch */ color: oklch(49.0% 0.207 283.0);
Tailwind
colors: {
  custom: {
    50: '#9378df',
    500: '#5841cf',
    950: '#000000',
  },
}
SCSS
$custom: #5841cf;
$custom-light: #9378df;
$custom-dark: #000000;
JSON
{
  "hex": "#5841cf",
  "rgb": {
    "r": 88,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 249.718,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49026,
    "c": 0.20725,
    "h": 283
  },
  "luminance": 0.1036
}

Semantic roles & 50–950 ramp

primary
#5841CF
secondary
#CBD497
accent
#E345C9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5841CF

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

Preview Lab → · Contrast checker → · Palette generator →

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