HEX Color Conversion

Hex Color Code #00002A — RGB & HSL Conversions

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

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

What are the RGB and HSL conversion values for #00002A?

The RGB code for #00002A is computed as rgb(0, 0, 42). Web designers using HSL values will find it at a hue of 240°, saturation of 100%, and lightness index of 8%, representing a highly vivid, intense, and brilliant shade.

CMYK print code settings for #00002A

For print design setups, the CMYK values for the #00002A color code are Cyan: 100%, Magenta: 100%, Yellow: 0%, and Black: 84%. 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 0
Green Channel 0
Blue Channel 42
Luminance 0.002

HEX #00002A Color Space Conversions

Click to copy format
HEX Color Code #00002A
RGB (Red Green Blue) rgb(0, 0, 42)
HSL (Hue Sat Light) hsl(240°, 100%, 8%)
CMYK (Commercial Print) cmyk(100%, 100%, 0%, 84%)
HSV / HSB Values hsv(240°, 100%, 16%)
Decimal Color Code 42
CSS Custom Variable --color-hex: #00002A;
Tailwind CSS Utility bg-[#00002A]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #00002A

Small body copy preview

Black Text on Background

Black text readability test with #00002A

Small body copy preview

Complementary & Analogous Harmonies

Computed dynamically

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 #00002A */
--color-hex: #00002A;
--color-rgb: rgb(0, 0, 42);
--color-hsl: hsl(240deg, 100%, 8%);

Adjacent HEX Color Codes

Copied!