#5843D9#5843D9

#5843D9 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.2% C 0.217 H 281.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5843D9
RGBrgb(88, 67, 217)
HSLhsl(248, 66%, 56%)
HSVhsv(248, 69%, 85%)
CMYKcmyk(59.4%, 69.1%, 0%, 14.9%)
CIE-LABlab(39.74, 49.76, -73.83)
CIE-LCHlch(39.74, 89.03, 303.98°)
OKLaboklab(50.2% 0.0435 -0.2127)
OKLCHoklch(50.2% 0.217 281.6)
XYZxyz(18.5521, 11.0975, 66.7966)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5843D9 #C4D943
analogous
#4379D9 #5843D9 #A343D9
triadic
#5843D9 #D95843 #43D958
tetradic
#5843D9 #D94379 #C4D943 #43D9A3
square
#5843D9 #D94379 #C4D943 #43D9A3
split-complementary
#5843D9 #D9A343 #79D943
monochromatic
#2A1B86 #3A25B9 #5843D9 #8576E3 #B2A9EE

Accessibility & contrast

On white

6.52
#5843D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5843D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5843D9
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5843D9#FFFFFF#000000##FFFFFF
##5843D91.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DE
Deuteranopia (green-blind)
#0058D6
Tritanopia (blue-blind)
#006B89
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5843d9;
/* rgb */ color: rgb(88, 67, 217);
/* oklch */ color: oklch(50.2% 0.217 281.6);
Tailwind
colors: {
  custom: {
    50: '#9579e6',
    500: '#5843d9',
    950: '#000000',
  },
}
SCSS
$custom: #5843d9;
$custom-light: #9579e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5843d9",
  "rgb": {
    "r": 88,
    "g": 67,
    "b": 217
  },
  "hsl": {
    "h": 248.4,
    "s": 66.372,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50197,
    "c": 0.21713,
    "h": 281.6
  },
  "luminance": 0.11099
}

Semantic roles & 50–950 ramp

primary
#5843D9
secondary
#D2DB9D
accent
#E93FD1
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5843D9

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

Preview Lab → · Contrast checker → · Palette generator →

#5843D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva