#5843E6#5843E6

#5843E6 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.4% C 0.233 H 280.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5843E6
RGBrgb(88, 67, 230)
HSLhsl(248, 77%, 58%)
HSVhsv(248, 71%, 90%)
CMYKcmyk(61.7%, 70.9%, 0%, 9.8%)
CIE-LABlab(40.90, 53.68, -79.35)
CIE-LCHlch(40.90, 95.80, 304.07°)
OKLaboklab(51.37% 0.0412 -0.2289)
OKLCHoklch(51.37% 0.233 280.2)
XYZxyz(20.3101, 11.8007, 76.0550)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5843E6 #D1E643
analogous
#437FE6 #5843E6 #A943E6
triadic
#5843E6 #E65843 #43E658
tetradic
#5843E6 #E6437F #D1E643 #43E6A9
square
#5843E6 #E6437F #D1E643 #43E6A9
split-complementary
#5843E6 #E6A943 #7FE643
monochromatic
#26149A #331CD0 #5843E6 #8879ED #B8AFF4

Accessibility & contrast

On white

6.25
#5843E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5843E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5843E6
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5843E6#FFFFFF#000000##FFFFFF
##5843E61.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066EB
Deuteranopia (green-blind)
#005AE3
Tritanopia (blue-blind)
#007090
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5843e6;
/* rgb */ color: rgb(88, 67, 230);
/* oklch */ color: oklch(51.4% 0.233 280.2);
Tailwind
colors: {
  custom: {
    50: '#977aef',
    500: '#5843e6',
    950: '#000000',
  },
}
SCSS
$custom: #5843e6;
$custom-light: #977aef;
$custom-dark: #000000;
JSON
{
  "hex": "#5843e6",
  "rgb": {
    "r": 88,
    "g": 67,
    "b": 230
  },
  "hsl": {
    "h": 247.73,
    "s": 76.526,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51372,
    "c": 0.23258,
    "h": 280.2
  },
  "luminance": 0.11802
}

Semantic roles & 50–950 ramp

primary
#5843E6
secondary
#DAE3A2
accent
#F335DB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5843E6

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

Preview Lab → · Contrast checker → · Palette generator →

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