#5643BB#5643BB

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

Color values

HEX#5643BB
RGBrgb(86, 67, 187)
HSLhsl(250, 47%, 50%)
HSVhsv(250, 64%, 73%)
CMYKcmyk(54%, 64.2%, 0%, 26.7%)
CIE-LABlab(37.08, 40.28, -60.78)
CIE-LCHlch(37.08, 72.92, 303.54°)
OKLaboklab(47.46% 0.0449 -0.1745)
OKLCHoklch(47.46% 0.18 284.4)
XYZxyz(14.8118, 9.5798, 48.0727)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643BB #A8BB43
analogous
#436CBB #5643BB #9243BB
triadic
#5643BB #BB5643 #43BB56
tetradic
#5643BB #BB436C #A8BB43 #43BB92
square
#5643BB #BB436C #A8BB43 #43BB92
split-complementary
#5643BB #BB9243 #6CBB43
monochromatic
#2D2361 #41338E #5643BB #7E70CC #A79DDC

Accessibility & contrast

On white

7.20
#5643BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5643BB
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643BB#FFFFFF#000000##FFFFFF
##5643BB1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#0053B9
Tritanopia (blue-blind)
#2B6179
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5643bb;
/* rgb */ color: rgb(86, 67, 187);
/* oklch */ color: oklch(47.5% 0.180 284.4);
Tailwind
colors: {
  custom: {
    50: '#8f78d0',
    500: '#5643bb',
    950: '#000000',
  },
}
SCSS
$custom: #5643bb;
$custom-light: #8f78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5643bb",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 187
  },
  "hsl": {
    "h": 249.5,
    "s": 47.244,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47461,
    "c": 0.18017,
    "h": 284.4
  },
  "luminance": 0.09581
}

Semantic roles & 50–950 ramp

primary
#5643BB
secondary
#BFC892
accent
#D751C2
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5643BB

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

Preview Lab → · Contrast checker → · Palette generator →

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