#5843CF#5843CF

#5843CF is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.3% C 0.205 H 282.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5843CF
RGBrgb(88, 67, 207)
HSLhsl(249, 59%, 54%)
HSVhsv(249, 68%, 81%)
CMYKcmyk(57.5%, 67.6%, 0%, 18.8%)
CIE-LABlab(38.89, 46.73, -69.48)
CIE-LCHlch(38.89, 83.73, 303.93°)
OKLaboklab(49.32% 0.0451 -0.2)
OKLCHoklch(49.32% 0.205 282.7)
XYZxyz(17.2907, 10.5929, 60.1529)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5843CF #BACF43
analogous
#4374CF #5843CF #9E43CF
triadic
#5843CF #CF5843 #43CF58
tetradic
#5843CF #CF4374 #BACF43 #43CF9E
square
#5843CF #CF4374 #BACF43 #43CF9E
split-complementary
#5843CF #CF9E43 #74CF43
monochromatic
#2C1F79 #3E2BAA #5843CF #8374DB #AFA5E8

Accessibility & contrast

On white

6.73
#5843CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5843CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5843CF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5843CF#FFFFFF#000000##FFFFFF
##5843CF1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#0057CC
Tritanopia (blue-blind)
#136784
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5843cf;
/* rgb */ color: rgb(88, 67, 207);
/* oklch */ color: oklch(49.3% 0.205 282.7);
Tailwind
colors: {
  custom: {
    50: '#9379df',
    500: '#5843cf',
    950: '#000000',
  },
}
SCSS
$custom: #5843cf;
$custom-light: #9379df;
$custom-dark: #000000;
JSON
{
  "hex": "#5843cf",
  "rgb": {
    "r": 88,
    "g": 67,
    "b": 207
  },
  "hsl": {
    "h": 249,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49318,
    "c": 0.20499,
    "h": 282.7
  },
  "luminance": 0.10594
}

Semantic roles & 50–950 ramp

primary
#5843CF
secondary
#CCD599
accent
#E345CB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5843CF

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

Preview Lab → · Contrast checker → · Palette generator →

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