#5843D2#5843D2

#5843D2 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.6% C 0.209 H 282.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5843D2
RGBrgb(88, 67, 210)
HSLhsl(249, 61%, 54%)
HSVhsv(249, 68%, 82%)
CMYKcmyk(58.1%, 68.1%, 0%, 17.6%)
CIE-LABlab(39.14, 47.64, -70.79)
CIE-LCHlch(39.14, 85.33, 303.94°)
OKLaboklab(49.58% 0.0446 -0.2038)
OKLCHoklch(49.58% 0.209 282.3)
XYZxyz(17.6609, 10.7410, 62.1028)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5843D2 #BDD243
analogous
#4376D2 #5843D2 #9F43D2
triadic
#5843D2 #D25843 #43D258
tetradic
#5843D2 #D24376 #BDD243 #43D29F
square
#5843D2 #D24376 #BDD243 #43D29F
split-complementary
#5843D2 #D29F43 #76D243
monochromatic
#2C1E7D #3D2AAE #5843D2 #8474DE #B0A6EA

Accessibility & contrast

On white

6.67
#5843D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5843D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5843D2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5843D2#FFFFFF#000000##FFFFFF
##5843D21.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0057CF
Tritanopia (blue-blind)
#0A6885
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5843d2;
/* rgb */ color: rgb(88, 67, 210);
/* oklch */ color: oklch(49.6% 0.209 282.3);
Tailwind
colors: {
  custom: {
    50: '#9379e1',
    500: '#5843d2',
    950: '#000000',
  },
}
SCSS
$custom: #5843d2;
$custom-light: #9379e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5843d2",
  "rgb": {
    "r": 88,
    "g": 67,
    "b": 210
  },
  "hsl": {
    "h": 248.811,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.4958,
    "c": 0.20866,
    "h": 282.3
  },
  "luminance": 0.10742
}

Semantic roles & 50–950 ramp

primary
#5843D2
secondary
#CED79A
accent
#E443CD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5843D2

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

Preview Lab → · Contrast checker → · Palette generator →

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