#5647BD#5647BD

#5647BD is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.3% C 0.178 H 283.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#5647BD
RGBrgb(86, 71, 189)
HSLhsl(248, 47%, 51%)
HSVhsv(248, 62%, 74%)
CMYKcmyk(54.5%, 62.4%, 0%, 25.9%)
CIE-LABlab(38.12, 38.54, -60.25)
CIE-LCHlch(38.12, 71.52, 302.60°)
OKLaboklab(48.27% 0.0408 -0.1729)
OKLCHoklch(48.27% 0.178 283.3)
XYZxyz(15.2735, 10.1581, 49.2901)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5647BD #AEBD47
analogous
#4773BD #5647BD #9147BD
triadic
#5647BD #BD5647 #47BD56
tetradic
#5647BD #BD4773 #AEBD47 #47BD91
square
#5647BD #BD4773 #AEBD47 #47BD91
split-complementary
#5647BD #BD9147 #73BD47
monochromatic
#2D2465 #403492 #5647BD #7F74CD #A9A1DD

Accessibility & contrast

On white

6.93
#5647BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5647BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5647BD
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5647BD#FFFFFF#000000##FFFFFF
##5647BD1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#28647B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5647bd;
/* rgb */ color: rgb(86, 71, 189);
/* oklch */ color: oklch(48.3% 0.178 283.3);
Tailwind
colors: {
  custom: {
    50: '#8f7bd2',
    500: '#5647bd',
    950: '#000000',
  },
}
SCSS
$custom: #5647bd;
$custom-light: #8f7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5647bd",
  "rgb": {
    "r": 86,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 247.627,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48273,
    "c": 0.17767,
    "h": 283.3
  },
  "luminance": 0.10159
}

Semantic roles & 50–950 ramp

primary
#5647BD
secondary
#C3CA96
accent
#D751C6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5647BD

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

Preview Lab → · Contrast checker → · Palette generator →

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