#5841CD#5841CD

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

Color values

HEX#5841CD
RGBrgb(88, 65, 205)
HSLhsl(250, 58%, 53%)
HSVhsv(250, 68%, 80%)
CMYKcmyk(57.1%, 68.3%, 0%, 19.6%)
CIE-LABlab(38.31, 47.24, -69.26)
CIE-LCHlch(38.31, 83.84, 304.30°)
OKLaboklab(48.85% 0.047 -0.1993)
OKLCHoklch(48.85% 0.205 283.3)
XYZxyz(16.9309, 10.2620, 58.8344)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5841CD #B6CD41
analogous
#4170CD #5841CD #9E41CD
triadic
#5841CD #CD5841 #41CD58
tetradic
#5841CD #CD4170 #B6CD41 #41CD9E
square
#5841CD #CD4170 #B6CD41 #41CD9E
split-complementary
#5841CD #CD9E41 #70CD41
monochromatic
#2D1F75 #402CA5 #5841CD #8371DA #ADA2E6

Accessibility & contrast

On white

6.88
#5841CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5841CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5841CD
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5841CD#FFFFFF#000000##FFFFFF
##5841CD1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD1
Deuteranopia (green-blind)
#0055CA
Tritanopia (blue-blind)
#186682
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5841cd;
/* rgb */ color: rgb(88, 65, 205);
/* oklch */ color: oklch(48.9% 0.205 283.3);
Tailwind
colors: {
  custom: {
    50: '#9377dd',
    500: '#5841cd',
    950: '#000000',
  },
}
SCSS
$custom: #5841cd;
$custom-light: #9377dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5841cd",
  "rgb": {
    "r": 88,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 249.857,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48851,
    "c": 0.20482,
    "h": 283.3
  },
  "luminance": 0.10263
}

Semantic roles & 50–950 ramp

primary
#5841CD
secondary
#C9D397
accent
#E246C8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5841CD

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

Preview Lab → · Contrast checker → · Palette generator →

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