#5647CE#5647CE

#5647CE is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.7% C 0.199 H 281.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5647CE
RGBrgb(86, 71, 206)
HSLhsl(247, 58%, 54%)
HSVhsv(247, 66%, 81%)
CMYKcmyk(58.3%, 65.5%, 0%, 19.2%)
CIE-LABlab(39.48, 43.83, -67.94)
CIE-LCHlch(39.48, 80.85, 302.83°)
OKLaboklab(49.68% 0.0392 -0.1955)
OKLCHoklch(49.68% 0.199 281.3)
XYZxyz(17.2281, 10.9400, 59.5843)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5647CE #BFCE47
analogous
#477CCE #5647CE #9A47CE
triadic
#5647CE #CE5647 #47CE56
tetradic
#5647CE #CE477C #BFCE47 #47CE9A
square
#5647CE #CE477C #BFCE47 #47CE9A
split-complementary
#5647CE #CE9A47 #7CCE47
monochromatic
#2A217A #3B2DAA #5647CE #8277DB #AFA8E8

Accessibility & contrast

On white

6.59
#5647CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5647CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5647CE
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5647CE#FFFFFF#000000##FFFFFF
##5647CE1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#0058CB
Tritanopia (blue-blind)
#056984
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5647ce;
/* rgb */ color: rgb(86, 71, 206);
/* oklch */ color: oklch(49.7% 0.199 281.3);
Tailwind
colors: {
  custom: {
    50: '#927bde',
    500: '#5647ce',
    950: '#000000',
  },
}
SCSS
$custom: #5647ce;
$custom-light: #927bde;
$custom-dark: #000000;
JSON
{
  "hex": "#5647ce",
  "rgb": {
    "r": 86,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 246.667,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49679,
    "c": 0.1994,
    "h": 281.3
  },
  "luminance": 0.10941
}

Semantic roles & 50–950 ramp

primary
#5647CE
secondary
#CFD59C
accent
#E147D0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5647CE

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

Preview Lab → · Contrast checker → · Palette generator →

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