#5643BC#5643BC

#5643BC is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.5% C 0.181 H 284.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5643BC
RGBrgb(86, 67, 188)
HSLhsl(249, 47%, 50%)
HSVhsv(249, 64%, 74%)
CMYKcmyk(54.3%, 64.4%, 0%, 26.3%)
CIE-LABlab(37.16, 40.59, -61.24)
CIE-LCHlch(37.16, 73.47, 303.54°)
OKLaboklab(47.54% 0.0448 -0.1758)
OKLCHoklch(47.54% 0.181 284.3)
XYZxyz(14.9193, 9.6227, 48.6384)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643BC #A9BC43
analogous
#436DBC #5643BC #9243BC
triadic
#5643BC #BC5643 #43BC56
tetradic
#5643BC #BC436D #A9BC43 #43BC92
square
#5643BC #BC436D #A9BC43 #43BC92
split-complementary
#5643BC #BC9243 #6DBC43
monochromatic
#2D2362 #41338F #5643BC #7F70CC #A79DDC

Accessibility & contrast

On white

7.18
#5643BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5643BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5643BC
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643BC#FFFFFF#000000##FFFFFF
##5643BC1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#296179
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5643bc;
/* rgb */ color: rgb(86, 67, 188);
/* oklch */ color: oklch(47.5% 0.181 284.3);
Tailwind
colors: {
  custom: {
    50: '#8f78d1',
    500: '#5643bc',
    950: '#000000',
  },
}
SCSS
$custom: #5643bc;
$custom-light: #8f78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5643bc",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 188
  },
  "hsl": {
    "h": 249.421,
    "s": 47.451,
    "l": 50
  },
  "oklch": {
    "l": 0.47543,
    "c": 0.18145,
    "h": 284.3
  },
  "luminance": 0.09624
}

Semantic roles & 50–950 ramp

primary
#5643BC
secondary
#C0C992
accent
#D751C2
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5643BC

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

Preview Lab → · Contrast checker → · Palette generator →

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