#5843CB#5843CB

#5843CB is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.0% C 0.200 H 283.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#5843CB
RGBrgb(88, 67, 203)
HSLhsl(249, 57%, 53%)
HSVhsv(249, 67%, 80%)
CMYKcmyk(56.7%, 67%, 0%, 20.4%)
CIE-LABlab(38.55, 45.52, -67.71)
CIE-LCHlch(38.55, 81.59, 303.91°)
OKLaboklab(48.97% 0.0456 -0.1948)
OKLCHoklch(48.97% 0.2 283.2)
XYZxyz(16.8078, 10.3998, 57.6100)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5843CB #B6CB43
analogous
#4372CB #5843CB #9C43CB
triadic
#5843CB #CB5843 #43CB58
tetradic
#5843CB #CB4372 #B6CB43 #43CB9C
square
#5843CB #CB4372 #B6CB43 #43CB9C
split-complementary
#5843CB #CB9C43 #72CB43
monochromatic
#2D2074 #402DA4 #5843CB #8373D8 #ADA3E6

Accessibility & contrast

On white

6.82
#5843CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5843CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5843CB
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5843CB#FFFFFF#000000##FFFFFF
##5843CB1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0056C8
Tritanopia (blue-blind)
#1C6681
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5843cb;
/* rgb */ color: rgb(88, 67, 203);
/* oklch */ color: oklch(49.0% 0.200 283.2);
Tailwind
colors: {
  custom: {
    50: '#9279dc',
    500: '#5843cb',
    950: '#000000',
  },
}
SCSS
$custom: #5843cb;
$custom-light: #9279dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5843cb",
  "rgb": {
    "r": 88,
    "g": 67,
    "b": 203
  },
  "hsl": {
    "h": 249.265,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48973,
    "c": 0.20006,
    "h": 283.2
  },
  "luminance": 0.10401
}

Semantic roles & 50–950 ramp

primary
#5843CB
secondary
#C9D298
accent
#E048C8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5843CB

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

Preview Lab → · Contrast checker → · Palette generator →

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