#5647C2#5647C2

#5647C2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.7% C 0.184 H 282.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5647C2
RGBrgb(86, 71, 194)
HSLhsl(247, 50%, 52%)
HSVhsv(247, 63%, 76%)
CMYKcmyk(55.7%, 63.4%, 0%, 23.9%)
CIE-LABlab(38.51, 40.10, -62.54)
CIE-LCHlch(38.51, 74.29, 302.67°)
OKLaboklab(48.68% 0.0404 -0.1797)
OKLCHoklch(48.68% 0.184 282.7)
XYZxyz(15.8256, 10.3790, 52.1979)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5647C2 #B3C247
analogous
#4776C2 #5647C2 #9447C2
triadic
#5647C2 #C25647 #47C256
tetradic
#5647C2 #C24776 #B3C247 #47C294
square
#5647C2 #C24776 #B3C247 #47C294
split-complementary
#5647C2 #C29447 #76C247
monochromatic
#2C246B #3F3399 #5647C2 #8075D1 #AAA3E0

Accessibility & contrast

On white

6.83
#5647C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5647C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5647C2
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5647C2#FFFFFF#000000##FFFFFF
##5647C21.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#21657E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5647c2;
/* rgb */ color: rgb(86, 71, 194);
/* oklch */ color: oklch(48.7% 0.184 282.7);
Tailwind
colors: {
  custom: {
    50: '#907bd5',
    500: '#5647c2',
    950: '#000000',
  },
}
SCSS
$custom: #5647c2;
$custom-light: #907bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#5647c2",
  "rgb": {
    "r": 86,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 247.317,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48678,
    "c": 0.18414,
    "h": 282.7
  },
  "luminance": 0.1038
}

Semantic roles & 50–950 ramp

primary
#5647C2
secondary
#C7CD97
accent
#DA4EC9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5647C2

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

Preview Lab → · Contrast checker → · Palette generator →

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