#5643C5#5643C5

#5643C5 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.3% C 0.193 H 283.1°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5643C5
RGBrgb(86, 67, 197)
HSLhsl(249, 53%, 52%)
HSVhsv(249, 66%, 77%)
CMYKcmyk(56.3%, 66%, 0%, 22.7%)
CIE-LABlab(37.88, 43.36, -65.32)
CIE-LCHlch(37.88, 78.40, 303.58°)
OKLaboklab(48.3% 0.0438 -0.1878)
OKLCHoklch(48.3% 0.193 283.1)
XYZxyz(15.9199, 10.0230, 53.9082)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643C5 #B2C543
analogous
#4371C5 #5643C5 #9743C5
triadic
#5643C5 #C55643 #43C556
tetradic
#5643C5 #C54371 #B2C543 #43C597
square
#5643C5 #C54371 #B2C543 #43C597
split-complementary
#5643C5 #C59743 #71C543
monochromatic
#2C216C #3F309B #5643C5 #8072D3 #AAA1E2

Accessibility & contrast

On white

6.99
#5643C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#5643C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5643C5
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643C5#FFFFFF#000000##FFFFFF
##5643C51.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#1E647E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5643c5;
/* rgb */ color: rgb(86, 67, 197);
/* oklch */ color: oklch(48.3% 0.193 283.1);
Tailwind
colors: {
  custom: {
    50: '#9078d8',
    500: '#5643c5',
    950: '#000000',
  },
}
SCSS
$custom: #5643c5;
$custom-light: #9078d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5643c5",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 197
  },
  "hsl": {
    "h": 248.769,
    "s": 52.846,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48296,
    "c": 0.19286,
    "h": 283.1
  },
  "luminance": 0.10024
}

Semantic roles & 50–950 ramp

primary
#5643C5
secondary
#C6CE95
accent
#DC4CC7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5643C5

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

Preview Lab → · Contrast checker → · Palette generator →

#5643C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva