HEX Color Conversion

Hex Color Code #230222 — RGB & HSL Conversions

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

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

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

The RGB code for #230222 is computed as rgb(35, 2, 34). Web designers using HSL values will find it at a hue of 302°, saturation of 89%, and lightness index of 7%, representing a highly vivid, intense, and brilliant shade.

CMYK print code settings for #230222

For print design setups, the CMYK values for the #230222 color code are Cyan: 0%, Magenta: 94%, Yellow: 3%, and Black: 86%. These neutral color boundaries serve as solid structural backgrounds, layouts, and typography grids.

Red Channel 35
Green Channel 2
Blue Channel 34
Luminance 0.005

HEX #230222 Color Space Conversions

Click to copy format
HEX Color Code #230222
RGB (Red Green Blue) rgb(35, 2, 34)
HSL (Hue Sat Light) hsl(302°, 89%, 7%)
CMYK (Commercial Print) cmyk(0%, 94%, 3%, 86%)
HSV / HSB Values hsv(302°, 94%, 14%)
Decimal Color Code 2294306
CSS Custom Variable --color-hex: #230222;
Tailwind CSS Utility bg-[#230222]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #230222

Small body copy preview

Black Text on Background

Black text readability test with #230222

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 #230222 */
--color-hex: #230222;
--color-rgb: rgb(35, 2, 34);
--color-hsl: hsl(302deg, 89%, 7%);

Adjacent HEX Color Codes

Copied!