#5647D5#5647D5

#5647D5 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.3% C 0.208 H 280.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#5647D5
RGBrgb(86, 71, 213)
HSLhsl(246, 63%, 56%)
HSVhsv(246, 67%, 84%)
CMYKcmyk(59.6%, 66.7%, 0%, 16.5%)
CIE-LABlab(40.06, 46.01, -71.02)
CIE-LCHlch(40.06, 84.62, 302.94°)
OKLaboklab(50.28% 0.0383 -0.2045)
OKLCHoklch(50.28% 0.208 280.6)
XYZxyz(18.0974, 11.2877, 64.1630)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5647D5 #C6D547
analogous
#477FD5 #5647D5 #9D47D5
triadic
#5647D5 #D55647 #47D556
tetradic
#5647D5 #D5477F #C6D547 #47D59D
square
#5647D5 #D5477F #C6D547 #47D59D
split-complementary
#5647D5 #D59D47 #7FD547
monochromatic
#291E84 #3829B5 #5647D5 #8479E0 #B2ABEC

Accessibility & contrast

On white

6.45
#5647D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5647D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5647D5
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5647D5#FFFFFF#000000##FFFFFF
##5647D51.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D9
Deuteranopia (green-blind)
#0059D2
Tritanopia (blue-blind)
#006C88
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5647d5;
/* rgb */ color: rgb(86, 71, 213);
/* oklch */ color: oklch(50.3% 0.208 280.6);
Tailwind
colors: {
  custom: {
    50: '#937be3',
    500: '#5647d5',
    950: '#000000',
  },
}
SCSS
$custom: #5647d5;
$custom-light: #937be3;
$custom-dark: #000000;
JSON
{
  "hex": "#5647d5",
  "rgb": {
    "r": 86,
    "g": 71,
    "b": 213
  },
  "hsl": {
    "h": 246.338,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5028,
    "c": 0.20811,
    "h": 280.6
  },
  "luminance": 0.11289
}

Semantic roles & 50–950 ramp

primary
#5647D5
secondary
#D3D99E
accent
#E642D5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5647D5

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

Preview Lab → · Contrast checker → · Palette generator →

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