#5843CA#5843CA

#5843CA is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.9% C 0.199 H 283.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5843CA
RGBrgb(88, 67, 202)
HSLhsl(249, 56%, 53%)
HSVhsv(249, 67%, 79%)
CMYKcmyk(56.4%, 66.8%, 0%, 20.8%)
CIE-LABlab(38.47, 45.21, -67.26)
CIE-LCHlch(38.47, 81.05, 303.91°)
OKLaboklab(48.89% 0.0458 -0.1935)
OKLCHoklch(48.89% 0.199 283.3)
XYZxyz(16.6891, 10.3523, 56.9844)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5843CA #B5CA43
analogous
#4372CA #5843CA #9B43CA
triadic
#5843CA #CA5843 #43CA58
tetradic
#5843CA #CA4372 #B5CA43 #43CA9B
square
#5843CA #CA4372 #B5CA43 #43CA9B
split-complementary
#5843CA #CA9B43 #72CA43
monochromatic
#2D2072 #402EA2 #5843CA #8273D7 #ADA2E5

Accessibility & contrast

On white

6.84
#5843CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5843CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5843CA
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5843CA#FFFFFF#000000##FFFFFF
##5843CA1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0056C7
Tritanopia (blue-blind)
#1D6681
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5843ca;
/* rgb */ color: rgb(88, 67, 202);
/* oklch */ color: oklch(48.9% 0.199 283.3);
Tailwind
colors: {
  custom: {
    50: '#9279db',
    500: '#5843ca',
    950: '#000000',
  },
}
SCSS
$custom: #5843ca;
$custom-light: #9279db;
$custom-dark: #000000;
JSON
{
  "hex": "#5843ca",
  "rgb": {
    "r": 88,
    "g": 67,
    "b": 202
  },
  "hsl": {
    "h": 249.333,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48887,
    "c": 0.19882,
    "h": 283.3
  },
  "luminance": 0.10353
}

Semantic roles & 50–950 ramp

primary
#5843CA
secondary
#C9D297
accent
#DF48C8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5843CA

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

Preview Lab → · Contrast checker → · Palette generator →

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