#5651AE#5651AE

#5651AE is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.9% C 0.144 H 282.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#5651AE
RGBrgb(86, 81, 174)
HSLhsl(243, 36%, 50%)
HSVhsv(243, 53%, 68%)
CMYKcmyk(50.6%, 53.4%, 0%, 31.8%)
CIE-LABlab(39.44, 27.68, -49.28)
CIE-LCHlch(39.44, 56.52, 299.32°)
OKLaboklab(48.91% 0.0302 -0.1406)
OKLCHoklch(48.91% 0.144 282.1)
XYZxyz(14.4178, 10.9185, 41.3840)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5651AE #A9AE51
analogous
#517AAE #5651AE #8551AE
triadic
#5651AE #AE5651 #51AE56
tetradic
#5651AE #AE517A #A9AE51 #51AE85
square
#5651AE #AE517A #A9AE51 #51AE85
split-complementary
#5651AE #AE8551 #7AAE51
monochromatic
#2D2A5A #413E84 #5651AE #7F7BC1 #A7A5D5

Accessibility & contrast

On white

6.60
#5651AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5651AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5651AE
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5651AE#FFFFFF#000000##FFFFFF
##5651AE1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F60B1
Deuteranopia (green-blind)
#175AAC
Tritanopia (blue-blind)
#346677
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5651ae;
/* rgb */ color: rgb(86, 81, 174);
/* oklch */ color: oklch(48.9% 0.144 282.1);
Tailwind
colors: {
  custom: {
    50: '#8c82c7',
    500: '#5651ae',
    950: '#000000',
  },
}
SCSS
$custom: #5651ae;
$custom-light: #8c82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5651ae",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 243.226,
    "s": 36.471,
    "l": 50
  },
  "oklch": {
    "l": 0.48907,
    "c": 0.14382,
    "h": 282.1
  },
  "luminance": 0.10919
}

Semantic roles & 50–950 ramp

primary
#5651AE
secondary
#C0C299
accent
#CC5BC6
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0D0A13
muted
#7D7C82

Preview Lab

Preview with #5651AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5651AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva