#5643BA#5643BA

#5643BA is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.4% C 0.179 H 284.6°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5643BA
RGBrgb(86, 67, 186)
HSLhsl(250, 47%, 50%)
HSVhsv(250, 64%, 73%)
CMYKcmyk(53.8%, 64%, 0%, 27.1%)
CIE-LABlab(37.00, 39.98, -60.32)
CIE-LCHlch(37.00, 72.36, 303.54°)
OKLaboklab(47.38% 0.045 -0.1731)
OKLCHoklch(47.38% 0.179 284.6)
XYZxyz(14.7052, 9.5371, 47.5108)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643BA #A7BA43
analogous
#436BBA #5643BA #9243BA
triadic
#5643BA #BA5643 #43BA56
tetradic
#5643BA #BA436B #A7BA43 #43BA92
square
#5643BA #BA436B #A7BA43 #43BA92
split-complementary
#5643BA #BA9243 #6BBA43
monochromatic
#2C2360 #41338D #5643BA #7E6FCB #A69CDB

Accessibility & contrast

On white

7.22
#5643BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5643BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5643BA
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643BA#FFFFFF#000000##FFFFFF
##5643BA1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#2C6078
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5643ba;
/* rgb */ color: rgb(86, 67, 186);
/* oklch */ color: oklch(47.4% 0.179 284.6);
Tailwind
colors: {
  custom: {
    50: '#8f78d0',
    500: '#5643ba',
    950: '#000000',
  },
}
SCSS
$custom: #5643ba;
$custom-light: #8f78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5643ba",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 186
  },
  "hsl": {
    "h": 249.58,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47379,
    "c": 0.17889,
    "h": 284.6
  },
  "luminance": 0.09538
}

Semantic roles & 50–950 ramp

primary
#5643BA
secondary
#BFC891
accent
#D751C1
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5643BA

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

Preview Lab → · Contrast checker → · Palette generator →

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