HEX Color Conversion

Hex Color Code #AFAFEE — RGB & HSL Conversions

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

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

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

In the digital sRGB color space, the hex value #AFAFEE is converted to RGB values of Red: 175, Green: 175, and Blue: 238. When analyzed under the HSL model, its coordinates correspond to hue angle 240°, 65% saturation, and 81% lightness. This makes it visually a bright, soft tint with a balanced, moderate saturation.

CMYK print code settings for #AFAFEE

When converting #AFAFEE for CMYK printing, the color separation consists of 26% Cyan, 26% Magenta, 0% Yellow, and 7% 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 175
Green Channel 175
Blue Channel 238
Luminance 0.459

HEX #AFAFEE Color Space Conversions

Click to copy format
HEX Color Code #AFAFEE
RGB (Red Green Blue) rgb(175, 175, 238)
HSL (Hue Sat Light) hsl(240°, 65%, 81%)
CMYK (Commercial Print) cmyk(26%, 26%, 0%, 7%)
HSV / HSB Values hsv(240°, 26%, 93%)
Decimal Color Code 11513838
CSS Custom Variable --color-hex: #AFAFEE;
Tailwind CSS Utility bg-[#AFAFEE]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #AFAFEE

Small body copy preview

Black Text on Background

Black text readability test with #AFAFEE

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 #AFAFEE */
--color-hex: #AFAFEE;
--color-rgb: rgb(175, 175, 238);
--color-hsl: hsl(240deg, 65%, 81%);

Adjacent HEX Color Codes

Copied!