#5647D8#5647D8

#5647D8 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.5% C 0.212 H 280.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5647D8
RGBrgb(86, 71, 216)
HSLhsl(246, 65%, 56%)
HSVhsv(246, 67%, 85%)
CMYKcmyk(60.2%, 67.1%, 0%, 15.3%)
CIE-LABlab(40.31, 46.94, -72.33)
CIE-LCHlch(40.31, 86.22, 302.98°)
OKLaboklab(50.54% 0.0379 -0.2084)
OKLCHoklch(50.54% 0.212 280.3)
XYZxyz(18.4817, 11.4414, 66.1869)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5647D8 #C9D847
analogous
#4781D8 #5647D8 #9F47D8
triadic
#5647D8 #D85647 #47D856
tetradic
#5647D8 #D84781 #C9D847 #47D89F
square
#5647D8 #D84781 #C9D847 #47D89F
split-complementary
#5647D8 #D89F47 #81D847
monochromatic
#281D88 #3727BA #5647D8 #8479E3 #B3ACED

Accessibility & contrast

On white

6.39
#5647D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5647D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5647D8
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5647D8#FFFFFF#000000##FFFFFF
##5647D81.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DC
Deuteranopia (green-blind)
#0059D5
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5647d8;
/* rgb */ color: rgb(86, 71, 216);
/* oklch */ color: oklch(50.5% 0.212 280.3);
Tailwind
colors: {
  custom: {
    50: '#937ce5',
    500: '#5647d8',
    950: '#000000',
  },
}
SCSS
$custom: #5647d8;
$custom-light: #937ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#5647d8",
  "rgb": {
    "r": 86,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 246.207,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5054,
    "c": 0.21181,
    "h": 280.3
  },
  "luminance": 0.11443
}

Semantic roles & 50–950 ramp

primary
#5647D8
secondary
#D5DBA0
accent
#E840D7
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5647D8

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

Preview Lab → · Contrast checker → · Palette generator →

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