#5651AA#5651AA

#5651AA is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.6% C 0.138 H 282.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#5651AA
RGBrgb(86, 81, 170)
HSLhsl(243, 35%, 49%)
HSVhsv(243, 52%, 67%)
CMYKcmyk(49.4%, 52.4%, 0%, 33.3%)
CIE-LABlab(39.18, 26.42, -47.33)
CIE-LCHlch(39.18, 54.21, 299.17°)
OKLaboklab(48.63% 0.0299 -0.1349)
OKLCHoklch(48.63% 0.138 282.5)
XYZxyz(14.0337, 10.7649, 39.3608)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5651AA #A5AA51
analogous
#5179AA #5651AA #8351AA
triadic
#5651AA #AA5651 #51AA56
tetradic
#5651AA #AA5179 #A5AA51 #51AA83
square
#5651AA #AA5179 #A5AA51 #51AA83
split-complementary
#5651AA #AA8351 #79AA51
monochromatic
#2C2A57 #413D81 #5651AA #7D79BF #A5A2D3

Accessibility & contrast

On white

6.66
#5651AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5651AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5651AA#FFFFFF#000000##FFFFFF
##5651AA1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255FAD
Deuteranopia (green-blind)
#1F59A8
Tritanopia (blue-blind)
#376475
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5651aa;
/* rgb */ color: rgb(86, 81, 170);
/* oklch */ color: oklch(48.6% 0.138 282.5);
Tailwind
colors: {
  custom: {
    50: '#8b82c4',
    500: '#5651aa',
    950: '#000000',
  },
}
SCSS
$custom: #5651aa;
$custom-light: #8b82c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5651aa",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 243.371,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48627,
    "c": 0.13816,
    "h": 282.5
  },
  "luminance": 0.10766
}

Semantic roles & 50–950 ramp

primary
#5651AA
secondary
#BEC097
accent
#CB5CC5
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #5651AA

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

Preview Lab → · Contrast checker → · Palette generator →

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