#5843E2#5843E2

#5843E2 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 51.0% C 0.228 H 280.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5843E2
RGBrgb(88, 67, 226)
HSLhsl(248, 73%, 57%)
HSVhsv(248, 70%, 89%)
CMYKcmyk(61.1%, 70.4%, 0%, 11.4%)
CIE-LABlab(40.54, 52.48, -77.67)
CIE-LCHlch(40.54, 93.74, 304.04°)
OKLaboklab(51.01% 0.0419 -0.224)
OKLCHoklch(51.01% 0.228 280.6)
XYZxyz(19.7548, 11.5785, 73.1306)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5843E2 #CDE243
analogous
#437DE2 #5843E2 #A843E2
triadic
#5843E2 #E25843 #43E258
tetradic
#5843E2 #E2437D #CDE243 #43E2A8
square
#5843E2 #E2437D #CDE243 #43E2A8
split-complementary
#5843E2 #E2A843 #7DE243
monochromatic
#271794 #351FC9 #5843E2 #8778EA #B6ADF2

Accessibility & contrast

On white

6.33
#5843E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5843E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5843E2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5843E2#FFFFFF#000000##FFFFFF
##5843E21.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E7
Deuteranopia (green-blind)
#005ADF
Tritanopia (blue-blind)
#006E8E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5843e2;
/* rgb */ color: rgb(88, 67, 226);
/* oklch */ color: oklch(51.0% 0.228 280.6);
Tailwind
colors: {
  custom: {
    50: '#9679ec',
    500: '#5843e2',
    950: '#000000',
  },
}
SCSS
$custom: #5843e2;
$custom-light: #9679ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5843e2",
  "rgb": {
    "r": 88,
    "g": 67,
    "b": 226
  },
  "hsl": {
    "h": 247.925,
    "s": 73.272,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51007,
    "c": 0.22786,
    "h": 280.6
  },
  "luminance": 0.1158
}

Semantic roles & 50–950 ramp

primary
#5843E2
secondary
#D8E1A0
accent
#F038D8
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5843E2

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

Preview Lab → · Contrast checker → · Palette generator →

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