#5643BD#5643BD

#5643BD is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.6% C 0.183 H 284.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#5643BD
RGBrgb(86, 67, 189)
HSLhsl(249, 48%, 50%)
HSVhsv(249, 65%, 74%)
CMYKcmyk(54.5%, 64.6%, 0%, 25.9%)
CIE-LABlab(37.24, 40.90, -61.69)
CIE-LCHlch(37.24, 74.02, 303.54°)
OKLaboklab(47.63% 0.0447 -0.1772)
OKLCHoklch(47.63% 0.183 284.1)
XYZxyz(15.0274, 9.6660, 49.2081)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643BD #AABD43
analogous
#436DBD #5643BD #9343BD
triadic
#5643BD #BD5643 #43BD56
tetradic
#5643BD #BD436D #AABD43 #43BD93
square
#5643BD #BD436D #AABD43 #43BD93
split-complementary
#5643BD #BD9343 #6DBD43
monochromatic
#2D2363 #413390 #5643BD #7F70CD #A79EDD

Accessibility & contrast

On white

7.16
#5643BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5643BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5643BD
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643BD#FFFFFF#000000##FFFFFF
##5643BD1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#28617A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5643bd;
/* rgb */ color: rgb(86, 67, 189);
/* oklch */ color: oklch(47.6% 0.183 284.1);
Tailwind
colors: {
  custom: {
    50: '#8f78d2',
    500: '#5643bd',
    950: '#000000',
  },
}
SCSS
$custom: #5643bd;
$custom-light: #8f78d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5643bd",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 189
  },
  "hsl": {
    "h": 249.344,
    "s": 48.031,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47626,
    "c": 0.18273,
    "h": 284.1
  },
  "luminance": 0.09667
}

Semantic roles & 50–950 ramp

primary
#5643BD
secondary
#C1C993
accent
#D850C3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5643BD

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

Preview Lab → · Contrast checker → · Palette generator →

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