#5647BF#5647BF

#5647BF is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.4% C 0.180 H 283.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5647BF
RGBrgb(86, 71, 191)
HSLhsl(248, 48%, 51%)
HSVhsv(248, 63%, 75%)
CMYKcmyk(55%, 62.8%, 0%, 25.1%)
CIE-LABlab(38.28, 39.16, -61.17)
CIE-LCHlch(38.28, 72.63, 302.63°)
OKLaboklab(48.43% 0.0406 -0.1756)
OKLCHoklch(48.43% 0.18 283)
XYZxyz(15.4921, 10.2456, 50.4414)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5647BF #B0BF47
analogous
#4774BF #5647BF #9247BF
triadic
#5647BF #BF5647 #47BF56
tetradic
#5647BF #BF4774 #B0BF47 #47BF92
square
#5647BF #BF4774 #B0BF47 #47BF92
split-complementary
#5647BF #BF9247 #74BF47
monochromatic
#2C2468 #403495 #5647BF #8074CF #A9A2DF

Accessibility & contrast

On white

6.89
#5647BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5647BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5647BF
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5647BF#FFFFFF#000000##FFFFFF
##5647BF1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#25647C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5647bf;
/* rgb */ color: rgb(86, 71, 191);
/* oklch */ color: oklch(48.4% 0.180 283.0);
Tailwind
colors: {
  custom: {
    50: '#8f7bd3',
    500: '#5647bf',
    950: '#000000',
  },
}
SCSS
$custom: #5647bf;
$custom-light: #8f7bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5647bf",
  "rgb": {
    "r": 86,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 247.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48434,
    "c": 0.18027,
    "h": 283
  },
  "luminance": 0.10246
}

Semantic roles & 50–950 ramp

primary
#5647BF
secondary
#C5CB96
accent
#D850C7
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5647BF

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

Preview Lab → · Contrast checker → · Palette generator →

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