#1F2937Space Cadet

#1F2937

Space Cadet

Comprehensive color parameter breakdown, RGB/CMYK conversion, WCAG accessibility metrics, and harmonious palette pairings.

HEX

#1F2937

RGB

31, 41, 55

HSL

215°, 28%, 17%

CMYK

44%, 25%, 0%, 78%

OKLCH

0.278, 0.084, 215°

Tailwind Class

bg-[#1f2937]

Live UI Component Preview

Preview how #1F2937 renders across real buttons, badges, cards, and hero elements.

CTA Button
Pill Badge
Featured Category
Active Card Border

Highlighted interactive container with #1F2937 accent.

Tints of #1F2937 (Lighter Steps)

Created by progressively blending #1F2937 with pure white (#FFFFFF). Click any color to explore its dedicated color theory, or click copy to copy the hex code.

Shades of #1F2937 (Darker Steps)

Created by progressively mixing #1F2937 with pure black (#000000). Click any shade to inspect its full color profile, or copy the hex code directly.

Color Harmonies & Pairings

Scientifically calculated color schemes derived from the 360° color wheel relative to #1F2937. Click any swatch to view its complete color profile.

Complementary (180° Opposite)

High Impact & Contrast

Directly across on the color wheel. Maximum visual tension, ideal for Call-to-Action (CTA) buttons and badges.

#1F2937
#372D1F

Analogous (±30° Neighbors)

Harmonious & Gentle

Adjacent hues on the color wheel. Natural and serene, perfect for gradients, backgrounds, and art themes.

Triadic (120° Equilateral Triangle)

Vibrant & Balanced

Three equidistant hues around the wheel. Rich in color balance, ideal for multi-category dashboards and charts.

Tetradic (90° Rectangle)

Rich 4-Color Palette

Two complementary pairs. Offers rich variety when one color dominates and others serve as accents.

WCAG 2.1 Accessibility Contrast Checker

Official Web Content Accessibility Guidelines compliance ratings for #1F2937.

White Text (#FFFFFF)
Contrast Ratio:14.69 : 1
WCAG AA (≥ 4.5)
WCAG AAA (≥ 7.0)
Black Text (#000000)
Contrast Ratio:1.43 : 1
WCAG AA (≥ 4.5)
WCAG AAA (≥ 7.0)

Explore Related Colors & Combinations

Discover complementary and analogous colors paired with #1F2937.

Frequently Asked Questions about #1F2937

What is the RGB value of #1F2937?

The RGB value of #1F2937 is rgb(31, 41, 55). It is composed of 31 red, 41 green, and 55 blue light channels.

What is the CMYK equivalent of #1F2937 for printing?

For four-color process printing (offset and digital), #1F2937 translates to Cyan 44%, Magenta 25%, Yellow 0%, and Key (Black) 78%.

What colors harmonize best with #1F2937?

The direct 180° complementary color is #372D1F. For softer and serene designs, its analogous neighbors are #1F3537 and #211F37.

How do I use #1F2937 in CSS and Tailwind?

In standard CSS, use color: #1F2937; or background-color: #1F2937;. In Tailwind CSS, use arbitrary value syntax: bg-[#1f2937] or text-[#1f2937].