#5843E5#5843E5

#5843E5 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.3% C 0.231 H 280.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5843E5
RGBrgb(88, 67, 229)
HSLhsl(248, 76%, 58%)
HSVhsv(248, 71%, 90%)
CMYKcmyk(61.6%, 70.7%, 0%, 10.2%)
CIE-LABlab(40.81, 53.38, -78.94)
CIE-LCHlch(40.81, 95.29, 304.07°)
OKLaboklab(51.28% 0.0414 -0.2277)
OKLCHoklch(51.28% 0.231 280.3)
XYZxyz(20.1700, 11.7446, 75.3176)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5843E5 #D0E543
analogous
#437FE5 #5843E5 #A943E5
triadic
#5843E5 #E55843 #43E558
tetradic
#5843E5 #E5437F #D0E543 #43E5A9
square
#5843E5 #E5437F #D0E543 #43E5A9
split-complementary
#5843E5 #E5A943 #7FE543
monochromatic
#261599 #341DCE #5843E5 #8879EC #B8AFF4

Accessibility & contrast

On white

6.27
#5843E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5843E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5843E5
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5843E5#FFFFFF#000000##FFFFFF
##5843E51.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066EA
Deuteranopia (green-blind)
#005AE2
Tritanopia (blue-blind)
#006F90
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5843e5;
/* rgb */ color: rgb(88, 67, 229);
/* oklch */ color: oklch(51.3% 0.231 280.3);
Tailwind
colors: {
  custom: {
    50: '#977aee',
    500: '#5843e5',
    950: '#000000',
  },
}
SCSS
$custom: #5843e5;
$custom-light: #977aee;
$custom-dark: #000000;
JSON
{
  "hex": "#5843e5",
  "rgb": {
    "r": 88,
    "g": 67,
    "b": 229
  },
  "hsl": {
    "h": 247.778,
    "s": 75.701,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5128,
    "c": 0.2314,
    "h": 280.3
  },
  "luminance": 0.11746
}

Semantic roles & 50–950 ramp

primary
#5843E5
secondary
#DAE2A2
accent
#F236DA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5843E5

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

Preview Lab → · Contrast checker → · Palette generator →

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