#5843DE#5843DE

#5843DE is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.6% C 0.223 H 281.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5843DE
RGBrgb(88, 67, 222)
HSLhsl(248, 70%, 57%)
HSVhsv(248, 70%, 87%)
CMYKcmyk(60.4%, 69.8%, 0%, 12.9%)
CIE-LABlab(40.18, 51.27, -75.97)
CIE-LCHlch(40.18, 91.65, 304.01°)
OKLaboklab(50.65% 0.0426 -0.219)
OKLCHoklch(50.65% 0.223 281)
XYZxyz(19.2123, 11.3616, 70.2737)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5843DE #C9DE43
analogous
#437CDE #5843DE #A643DE
triadic
#5843DE #DE5843 #43DE58
tetradic
#5843DE #DE437C #C9DE43 #43DEA6
square
#5843DE #DE437C #C9DE43 #43DEA6
split-complementary
#5843DE #DEA643 #7CDE43
monochromatic
#29198E #3822C2 #5843DE #8677E7 #B4ABF0

Accessibility & contrast

On white

6.42
#5843DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5843DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5843DE
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5843DE#FFFFFF#000000##FFFFFF
##5843DE1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E3
Deuteranopia (green-blind)
#0059DB
Tritanopia (blue-blind)
#006D8C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5843de;
/* rgb */ color: rgb(88, 67, 222);
/* oklch */ color: oklch(50.6% 0.223 281.0);
Tailwind
colors: {
  custom: {
    50: '#9579ea',
    500: '#5843de',
    950: '#000000',
  },
}
SCSS
$custom: #5843de;
$custom-light: #9579ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5843de",
  "rgb": {
    "r": 88,
    "g": 67,
    "b": 222
  },
  "hsl": {
    "h": 248.129,
    "s": 70.136,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50645,
    "c": 0.22311,
    "h": 281
  },
  "luminance": 0.11363
}

Semantic roles & 50–950 ramp

primary
#5843DE
secondary
#D6DE9F
accent
#ED3BD5
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5843DE

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

Preview Lab → · Contrast checker → · Palette generator →

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