#5843CD#5843CD

#5843CD is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.1% C 0.203 H 282.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5843CD
RGBrgb(88, 67, 205)
HSLhsl(249, 58%, 53%)
HSVhsv(249, 67%, 80%)
CMYKcmyk(57.1%, 67.3%, 0%, 19.6%)
CIE-LABlab(38.72, 46.12, -68.59)
CIE-LCHlch(38.72, 82.66, 303.92°)
OKLaboklab(49.15% 0.0454 -0.1974)
OKLCHoklch(49.15% 0.203 282.9)
XYZxyz(17.0477, 10.4957, 58.8733)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5843CD #B8CD43
analogous
#4373CD #5843CD #9D43CD
triadic
#5843CD #CD5843 #43CD58
tetradic
#5843CD #CD4373 #B8CD43 #43CD9D
square
#5843CD #CD4373 #B8CD43 #43CD9D
split-complementary
#5843CD #CD9D43 #73CD43
monochromatic
#2D1F76 #3F2CA7 #5843CD #8373DA #AEA4E7

Accessibility & contrast

On white

6.78
#5843CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5843CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5843CD
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5843CD#FFFFFF#000000##FFFFFF
##5843CD1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0056CA
Tritanopia (blue-blind)
#186782
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5843cd;
/* rgb */ color: rgb(88, 67, 205);
/* oklch */ color: oklch(49.1% 0.203 282.9);
Tailwind
colors: {
  custom: {
    50: '#9379dd',
    500: '#5843cd',
    950: '#000000',
  },
}
SCSS
$custom: #5843cd;
$custom-light: #9379dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5843cd",
  "rgb": {
    "r": 88,
    "g": 67,
    "b": 205
  },
  "hsl": {
    "h": 249.13,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49145,
    "c": 0.20253,
    "h": 282.9
  },
  "luminance": 0.10497
}

Semantic roles & 50–950 ramp

primary
#5843CD
secondary
#CBD498
accent
#E147CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5843CD

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

Preview Lab → · Contrast checker → · Palette generator →

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