#5841D3#5841D3

#5841D3 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.4% C 0.212 H 282.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5841D3
RGBrgb(88, 65, 211)
HSLhsl(249, 62%, 54%)
HSVhsv(249, 69%, 83%)
CMYKcmyk(58.3%, 69.2%, 0%, 17.3%)
CIE-LABlab(38.82, 49.05, -71.89)
CIE-LCHlch(38.82, 87.03, 304.31°)
OKLaboklab(49.38% 0.0461 -0.207)
OKLCHoklch(49.38% 0.212 282.5)
XYZxyz(17.6690, 10.5573, 62.7221)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5841D3 #BCD341
analogous
#4173D3 #5841D3 #A141D3
triadic
#5841D3 #D35841 #41D358
tetradic
#5841D3 #D34173 #BCD341 #41D3A1
square
#5841D3 #D34173 #BCD341 #41D3A1
split-complementary
#5841D3 #D3A141 #73D341
monochromatic
#2C1D7D #3E28AE #5841D3 #8473DF #AFA4EA

Accessibility & contrast

On white

6.75
#5841D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5841D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5841D3
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5841D3#FFFFFF#000000##FFFFFF
##5841D31.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D7
Deuteranopia (green-blind)
#0056D0
Tritanopia (blue-blind)
#076885
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5841d3;
/* rgb */ color: rgb(88, 65, 211);
/* oklch */ color: oklch(49.4% 0.212 282.5);
Tailwind
colors: {
  custom: {
    50: '#9478e2',
    500: '#5841d3',
    950: '#000000',
  },
}
SCSS
$custom: #5841d3;
$custom-light: #9478e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5841d3",
  "rgb": {
    "r": 88,
    "g": 65,
    "b": 211
  },
  "hsl": {
    "h": 249.452,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49379,
    "c": 0.21209,
    "h": 282.5
  },
  "luminance": 0.10558
}

Semantic roles & 50–950 ramp

primary
#5841D3
secondary
#CDD799
accent
#E542CC
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0915
muted
#7E7B84

Preview Lab

Preview with #5841D3

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

Preview Lab → · Contrast checker → · Palette generator →

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