What is hex #5656D5 color?

 
The hex code #5656D5 is closest to the named color Slate Blue (#6A5ACD).
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.

From a technical standpoint, this color is composed of 34% red, 34% green and 84% blue, resulting in rgb(86, 86, 213) and hsl(240, 60%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (60%, 60%, 0%, 16%).
In the HSV/HSB scale, #5656D5 features a hue of 240°, 60% saturation, and 84% brightness.

Hex #5656D5 Color Codes & Conversions

Closest Named Color
Slate Blue (#6A5ACD)
Hex Code #5656D5
Hex8 (RGBA Hex) #5656D5FF
RGB (CSS) rgb(86, 86, 213)
RGBA (CSS) rgba(86, 86, 213, 1)
HSL (CSS) hsl(240, 60%, 59%)
HSLA (CSS) hsla(240, 60%, 59%, 1)
HSV / HSB (240°, 60%, 84%)
CMYK Values (60%, 60%, 0%, 16%)
OKLCH (Modern CSS) oklch(52.7% 0.190 277.7)
CIE-LAB (D65) 43.41, 37.14, -65.55
CIE XYZ 19.17, 13.44, 64.52
Decimal / Binary 5658325
01010110 01010110 11010101

Closest Standards & Equivalents

Closest Web Safe
#6666CC
Inverse Color
#A9A92A
Complementary Color
#D5D556
Closest Pantone®
Pantone 2726 C
Closest RAL
RAL 5023 [Distant blue]

#5656D5 Grayscale Equivalents

Average
#808080 [Grey]
Lightness (Desaturation)
#969696
Weighted (BT601)
#646464
Luma (BT709)
#5F5F5F

WCAG 2.1 Color Contrast & Accessibility

Check how #5656D5 complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #5656D5

Sample preview of readable typography on top of #5656D5.

Contrast Ratio: 5.69:1
AA Pass AAA Fail

Black Text on #5656D5

Sample preview of readable typography on top of #5656D5.

Contrast Ratio: 3.69:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #5656D5

Preview #5656D5 in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #5656D5;
Typography Color Preview
color: #5656D5;
Border & Shadow Preview
border: 2px solid #5656D5;
CSS Custom Properties & Gradient
:root {
  --color-primary: #5656D5;
  --color-primary-rgb: 86, 86, 213;
  --color-complementary: #D5D556;
}
.btn-accent {
  background-color: #5656D5;
  color: #ffffff;
}

Hex #5656D5 Color Palettes

Complementary Palette

The complementary color of #5656D5 is #D5D556. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #5656D5 pairs with #5695D5 and #9556D5, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #5656D5 pairs with #95D556 and #D59556, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #5656D5 uses #56D556 and #D55656, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #5656D5 combines #D55656, #D5D556 and #56D5D5 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #5656D5 pairs with #D55695, #D5D556 and #56D595 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #5656D5

Tints

Tints are created by mixing #5656D5 with white, producing lighter variations.

Tones

Tones are created by mixing #5656D5 with gray, softening saturation.

Shades

Shades result from mixing #5656D5 with black, creating deeper variations.

Hex #5656D5 in Programming & CSS Frameworks

Copy the exact syntax for #5656D5 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #5656D5
Tailwind CSS bg-[#5656D5] text-[#5656D5]
Java (AWT) new Color(86,86,213);
Python Color("#5656D5")
.NET (C#) Color.FromArgb(255, 86,86,213);
Swift / iOS UIColor(red: 0.34, green: 0.34, blue: 0.84, alpha: 1)
Kotlin / Android Color.rgb(86, 86, 213)