#5647E7#5647E7

#5647E7 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.9% C 0.230 H 278.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5647E7
RGBrgb(86, 71, 231)
HSLhsl(246, 77%, 59%)
HSVhsv(246, 69%, 91%)
CMYKcmyk(62.8%, 69.3%, 0%, 9.4%)
CIE-LABlab(41.62, 51.56, -78.75)
CIE-LCHlch(41.62, 94.13, 303.22°)
OKLaboklab(51.87% 0.0357 -0.2272)
OKLCHoklch(51.87% 0.23 278.9)
XYZxyz(20.5102, 12.2528, 76.8700)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5647E7 #D8E747
analogous
#4788E7 #5647E7 #A647E7
triadic
#5647E7 #E75647 #47E756
tetradic
#5647E7 #E74788 #D8E747 #47E7A6
square
#5647E7 #E74788 #D8E747 #47E7A6
split-complementary
#5647E7 #E7A647 #88E747
monochromatic
#22159F #2D1CD5 #5647E7 #887DEE #B9B3F5

Accessibility & contrast

On white

6.09
#5647E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5647E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5647E7
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5647E7#FFFFFF#000000##FFFFFF
##5647E71.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EC
Deuteranopia (green-blind)
#005CE4
Tritanopia (blue-blind)
#007292
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5647e7;
/* rgb */ color: rgb(86, 71, 231);
/* oklch */ color: oklch(51.9% 0.230 278.9);
Tailwind
colors: {
  custom: {
    50: '#967cf0',
    500: '#5647e7',
    950: '#000000',
  },
}
SCSS
$custom: #5647e7;
$custom-light: #967cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5647e7",
  "rgb": {
    "r": 86,
    "g": 71,
    "b": 231
  },
  "hsl": {
    "h": 245.625,
    "s": 76.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.51873,
    "c": 0.22997,
    "h": 278.9
  },
  "luminance": 0.12254
}

Semantic roles & 50–950 ramp

primary
#5647E7
secondary
#DEE4A6
accent
#F334E2
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5647E7

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

Preview Lab → · Contrast checker → · Palette generator →

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