#5843DF#5843DF

#5843DF is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.7% C 0.224 H 280.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5843DF
RGBrgb(88, 67, 223)
HSLhsl(248, 71%, 57%)
HSVhsv(248, 70%, 87%)
CMYKcmyk(60.5%, 70%, 0%, 12.5%)
CIE-LABlab(40.27, 51.57, -76.40)
CIE-LCHlch(40.27, 92.18, 304.02°)
OKLaboklab(50.74% 0.0425 -0.2202)
OKLCHoklch(50.74% 0.224 280.9)
XYZxyz(19.3467, 11.4153, 70.9816)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5843DF #CADF43
analogous
#437CDF #5843DF #A643DF
triadic
#5843DF #DF5843 #43DF58
tetradic
#5843DF #DF437C #CADF43 #43DFA6
square
#5843DF #DF437C #CADF43 #43DFA6
split-complementary
#5843DF #DFA643 #7CDF43
monochromatic
#28188F #3721C4 #5843DF #8677E8 #B5ACF1

Accessibility & contrast

On white

6.40
#5843DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5843DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5843DF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5843DF#FFFFFF#000000##FFFFFF
##5843DF1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5843df;
/* rgb */ color: rgb(88, 67, 223);
/* oklch */ color: oklch(50.7% 0.224 280.9);
Tailwind
colors: {
  custom: {
    50: '#9679ea',
    500: '#5843df',
    950: '#000000',
  },
}
SCSS
$custom: #5843df;
$custom-light: #9679ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5843df",
  "rgb": {
    "r": 88,
    "g": 67,
    "b": 223
  },
  "hsl": {
    "h": 248.077,
    "s": 70.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50735,
    "c": 0.22431,
    "h": 280.9
  },
  "luminance": 0.11417
}

Semantic roles & 50–950 ramp

primary
#5843DF
secondary
#D6DF9F
accent
#EE3AD6
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5843DF

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

Preview Lab → · Contrast checker → · Palette generator →

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