#5647BC#5647BC

#5647BC is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.2% C 0.176 H 283.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#5647BC
RGBrgb(86, 71, 188)
HSLhsl(248, 47%, 51%)
HSVhsv(248, 62%, 74%)
CMYKcmyk(54.3%, 62.2%, 0%, 26.3%)
CIE-LABlab(38.05, 38.23, -59.79)
CIE-LCHlch(38.05, 70.96, 302.59°)
OKLaboklab(48.19% 0.0409 -0.1716)
OKLCHoklch(48.19% 0.176 283.4)
XYZxyz(15.1653, 10.1149, 48.7205)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5647BC #ADBC47
analogous
#4772BC #5647BC #9047BC
triadic
#5647BC #BC5647 #47BC56
tetradic
#5647BC #BC4772 #ADBC47 #47BC90
square
#5647BC #BC4772 #ADBC47 #47BC90
split-complementary
#5647BC #BC9047 #72BC47
monochromatic
#2D2464 #413591 #5647BC #7F74CC #A8A1DD

Accessibility & contrast

On white

6.95
#5647BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5647BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5647BC
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5647BC#FFFFFF#000000##FFFFFF
##5647BC1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#29637B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5647bc;
/* rgb */ color: rgb(86, 71, 188);
/* oklch */ color: oklch(48.2% 0.176 283.4);
Tailwind
colors: {
  custom: {
    50: '#8f7bd1',
    500: '#5647bc',
    950: '#000000',
  },
}
SCSS
$custom: #5647bc;
$custom-light: #8f7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5647bc",
  "rgb": {
    "r": 86,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 247.692,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48192,
    "c": 0.17637,
    "h": 283.4
  },
  "luminance": 0.10116
}

Semantic roles & 50–950 ramp

primary
#5647BC
secondary
#C3C995
accent
#D652C5
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5647BC

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

Preview Lab → · Contrast checker → · Palette generator →

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