#5643BF#5643BF

#5643BF is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.8% C 0.185 H 283.9°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#5643BF
RGBrgb(86, 67, 191)
HSLhsl(249, 49%, 51%)
HSVhsv(249, 65%, 75%)
CMYKcmyk(55%, 64.9%, 0%, 25.1%)
CIE-LABlab(37.40, 41.51, -62.61)
CIE-LCHlch(37.40, 75.12, 303.55°)
OKLaboklab(47.79% 0.0445 -0.1799)
OKLCHoklch(47.79% 0.185 283.9)
XYZxyz(15.2460, 9.7534, 50.3593)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643BF #ACBF43
analogous
#436EBF #5643BF #9443BF
triadic
#5643BF #BF5643 #43BF56
tetradic
#5643BF #BF436E #ACBF43 #43BF94
square
#5643BF #BF436E #ACBF43 #43BF94
split-complementary
#5643BF #BF9443 #6EBF43
monochromatic
#2D2265 #413293 #5643BF #7F71CF #A89EDE

Accessibility & contrast

On white

7.12
#5643BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5643BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5643BF
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643BF#FFFFFF#000000##FFFFFF
##5643BF1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#0054BD
Tritanopia (blue-blind)
#26627B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5643bf;
/* rgb */ color: rgb(86, 67, 191);
/* oklch */ color: oklch(47.8% 0.185 283.9);
Tailwind
colors: {
  custom: {
    50: '#8f78d3',
    500: '#5643bf',
    950: '#000000',
  },
}
SCSS
$custom: #5643bf;
$custom-light: #8f78d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5643bf",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 191
  },
  "hsl": {
    "h": 249.194,
    "s": 49.206,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47792,
    "c": 0.18528,
    "h": 283.9
  },
  "luminance": 0.09754
}

Semantic roles & 50–950 ramp

primary
#5643BF
secondary
#C2CA93
accent
#D94FC4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5643BF

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

Preview Lab → · Contrast checker → · Palette generator →

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