#5843C8#5843C8

#5843C8 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.7% C 0.196 H 283.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#5843C8
RGBrgb(88, 67, 200)
HSLhsl(249, 55%, 52%)
HSVhsv(249, 67%, 78%)
CMYKcmyk(56%, 66.5%, 0%, 21.6%)
CIE-LABlab(38.30, 44.60, -66.37)
CIE-LCHlch(38.30, 79.97, 303.90°)
OKLaboklab(48.72% 0.0461 -0.1909)
OKLCHoklch(48.72% 0.196 283.6)
XYZxyz(16.4538, 10.2581, 55.7454)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5843C8 #B3C843
analogous
#4370C8 #5843C8 #9B43C8
triadic
#5843C8 #C85843 #43C858
tetradic
#5843C8 #C84370 #B3C843 #43C89B
square
#5843C8 #C84370 #B3C843 #43C89B
split-complementary
#5843C8 #C89B43 #70C843
monochromatic
#2D2170 #402F9F #5843C8 #8272D6 #ACA2E4

Accessibility & contrast

On white

6.88
#5843C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5843C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5843C8
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5843C8#FFFFFF#000000##FFFFFF
##5843C81.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0056C5
Tritanopia (blue-blind)
#216580
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5843c8;
/* rgb */ color: rgb(88, 67, 200);
/* oklch */ color: oklch(48.7% 0.196 283.6);
Tailwind
colors: {
  custom: {
    50: '#9279da',
    500: '#5843c8',
    950: '#000000',
  },
}
SCSS
$custom: #5843c8;
$custom-light: #9279da;
$custom-dark: #000000;
JSON
{
  "hex": "#5843c8",
  "rgb": {
    "r": 88,
    "g": 67,
    "b": 200
  },
  "hsl": {
    "h": 249.474,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48717,
    "c": 0.19635,
    "h": 283.6
  },
  "luminance": 0.10259
}

Semantic roles & 50–950 ramp

primary
#5843C8
secondary
#C7D096
accent
#DE4AC7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5843C8

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

Preview Lab → · Contrast checker → · Palette generator →

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