#5647DC#5647DC

#5647DC is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.9% C 0.217 H 279.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5647DC
RGBrgb(86, 71, 220)
HSLhsl(246, 68%, 57%)
HSVhsv(246, 68%, 86%)
CMYKcmyk(60.9%, 67.7%, 0%, 13.7%)
CIE-LABlab(40.66, 48.17, -74.06)
CIE-LCHlch(40.66, 88.35, 303.04°)
OKLaboklab(50.89% 0.0374 -0.2135)
OKLCHoklch(50.89% 0.217 279.9)
XYZxyz(19.0052, 11.6508, 68.9436)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5647DC #CDDC47
analogous
#4783DC #5647DC #A047DC
triadic
#5647DC #DC5647 #47DC56
tetradic
#5647DC #DC4783 #CDDC47 #47DCA0
square
#5647DC #DC4783 #CDDC47 #47DCA0
split-complementary
#5647DC #DCA047 #83DC47
monochromatic
#261B8E #3425C1 #5647DC #857AE6 #B4AEF0

Accessibility & contrast

On white

6.31
#5647DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5647DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5647DC
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5647DC#FFFFFF#000000##FFFFFF
##5647DC1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E1
Deuteranopia (green-blind)
#005AD9
Tritanopia (blue-blind)
#006E8C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5647dc;
/* rgb */ color: rgb(86, 71, 220);
/* oklch */ color: oklch(50.9% 0.217 279.9);
Tailwind
colors: {
  custom: {
    50: '#947ce8',
    500: '#5647dc',
    950: '#000000',
  },
}
SCSS
$custom: #5647dc;
$custom-light: #947ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#5647dc",
  "rgb": {
    "r": 86,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 246.04,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50891,
    "c": 0.2167,
    "h": 279.9
  },
  "luminance": 0.11652
}

Semantic roles & 50–950 ramp

primary
#5647DC
secondary
#D8DEA1
accent
#EB3DD9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5647DC

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

Preview Lab → · Contrast checker → · Palette generator →

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