#5647D9#5647D9

#5647D9 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.6% C 0.213 H 280.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#5647D9
RGBrgb(86, 71, 217)
HSLhsl(246, 66%, 56%)
HSVhsv(246, 67%, 85%)
CMYKcmyk(60.4%, 67.3%, 0%, 14.9%)
CIE-LABlab(40.40, 47.25, -72.76)
CIE-LCHlch(40.40, 86.76, 303.00°)
OKLaboklab(50.63% 0.0378 -0.2097)
OKLCHoklch(50.63% 0.213 280.2)
XYZxyz(18.6114, 11.4933, 66.8699)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5647D9 #CAD947
analogous
#4781D9 #5647D9 #9F47D9
triadic
#5647D9 #D95647 #47D956
tetradic
#5647D9 #D94781 #CAD947 #47D99F
square
#5647D9 #D94781 #CAD947 #47D99F
split-complementary
#5647D9 #D99F47 #81D947
monochromatic
#281C89 #3627BC #5647D9 #857AE3 #B3ACEE

Accessibility & contrast

On white

6.37
#5647D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5647D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5647D9
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5647D9#FFFFFF#000000##FFFFFF
##5647D91.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DD
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5647d9;
/* rgb */ color: rgb(86, 71, 217);
/* oklch */ color: oklch(50.6% 0.213 280.2);
Tailwind
colors: {
  custom: {
    50: '#937ce6',
    500: '#5647d9',
    950: '#000000',
  },
}
SCSS
$custom: #5647d9;
$custom-light: #937ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#5647d9",
  "rgb": {
    "r": 86,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 246.164,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50628,
    "c": 0.21304,
    "h": 280.2
  },
  "luminance": 0.11495
}

Semantic roles & 50–950 ramp

primary
#5647D9
secondary
#D6DCA0
accent
#E93FD7
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5647D9

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

Preview Lab → · Contrast checker → · Palette generator →

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