HEX Color Conversion

Hex Color Code #2128AA — RGB & HSL Conversions

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

For developers, implementing the #2128AA color code involves declaring it in your styles. In stylesheet designs, use color: #2128AA; for text alignment. If you are developing with utility-first layouts, you can invoke it in Tailwind as text-[#2128AA] or custom configure it in your theme files.

What are the RGB and HSL conversion values for #2128AA?

The RGB code for #2128AA is computed as rgb(33, 40, 170). Web designers using HSL values will find it at a hue of 237°, saturation of 67%, and lightness index of 40%, representing a balanced, moderate saturation.

CMYK print code settings for #2128AA

For print design setups, the CMYK values for the #2128AA color code are Cyan: 81%, Magenta: 76%, Yellow: 0%, and Black: 33%. 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 33
Green Channel 40
Blue Channel 170
Luminance 0.047

HEX #2128AA Color Space Conversions

Click to copy format
HEX Color Code #2128AA
RGB (Red Green Blue) rgb(33, 40, 170)
HSL (Hue Sat Light) hsl(237°, 67%, 40%)
CMYK (Commercial Print) cmyk(81%, 76%, 0%, 33%)
HSV / HSB Values hsv(237°, 81%, 67%)
Decimal Color Code 2173098
CSS Custom Variable --color-hex: #2128AA;
Tailwind CSS Utility bg-[#2128AA]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #2128AA

Small body copy preview

Black Text on Background

Black text readability test with #2128AA

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 #2128AA */
--color-hex: #2128AA;
--color-rgb: rgb(33, 40, 170);
--color-hsl: hsl(237deg, 67%, 40%);

Adjacent HEX Color Codes

Copied!