HEX Color Conversion

Hex Color Code #666899 — RGB & HSL Conversions

How to use the #666899 color code in HTML & CSS?

To apply the hex color #666899 in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #666899; will paint elements in this cool undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #666899; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#666899].

What are the RGB and HSL conversion values for #666899?

In the digital sRGB color space, the hex value #666899 is converted to RGB values of Red: 102, Green: 104, and Blue: 153. When analyzed under the HSL model, its coordinates correspond to hue angle 238°, 20% saturation, and 50% lightness. This makes it visually a balanced medium tone with a soft, understated pastel shade.

CMYK print code settings for #666899

When converting #666899 for CMYK printing, the color separation consists of 33% Cyan, 32% Magenta, 0% Yellow, and 40% key/black. In digital designs, blue coordinates like this are highly favored by technical and corporate platforms to foster user trust, stability, and clean readability.

Red Channel 102
Green Channel 104
Blue Channel 153
Luminance 0.150

HEX #666899 Color Space Conversions

Click to copy format
HEX Color Code #666899
RGB (Red Green Blue) rgb(102, 104, 153)
HSL (Hue Sat Light) hsl(238°, 20%, 50%)
CMYK (Commercial Print) cmyk(33%, 32%, 0%, 40%)
HSV / HSB Values hsv(238°, 33%, 60%)
Decimal Color Code 6711449
CSS Custom Variable --color-hex: #666899;
Tailwind CSS Utility bg-[#666899]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #666899

Small body copy preview

Black Text on Background

Black text readability test with #666899

Small body copy preview

Complementary & Analogous Harmonies

Perfect matching color schemes for your designs

Shades & Tints Generator Matrix

Copy shade hex values instantly

Darker Shades (Adding Black)

Lighter Tints (Adding White)

{ } CSS Custom Properties (Variables)

Copy CSS Styles
/* CSS Custom Properties for color #666899 */
--color-hex: #666899;
--color-rgb: rgb(102, 104, 153);
--color-hsl: hsl(238deg, 20%, 50%);

Adjacent HEX Color Codes

Copied!