#1F1C2B Color Information

Hex color code: #1F1C2B

The hex color #1F1C2B is a rich blue with RGB values of (31, 28, 43) and HSL of (252°, 21%, 14%). It is popular in mobile app design.

Try:
Color NameBlack
HEX
#1F1C2B
RGB
31, 28, 43
HSL
252°, 21%, 14%
CMYK
28%, 35%, 0%, 83%

Shades

CSS Usage
color: #1F1C2B;
background-color: #1F1C2B;
border-color: #1F1C2B;
box-shadow: 0 0 10px #1F1C2B;
border: 2px solid #1F1C2B;
Tailwind Usage
bg-[#1F1C2B]
text-[#1F1C2B]
border-[#1F1C2B]
shadow-[0_0_10px_1F1C2B]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #1F1C2B, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #1F1C2B; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #1F1C2B; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #1F1C2B; background-color: #1F1C2B15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #1F1C2B20; border-left: 4px solid #1F1C2B; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #1F1C2B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #1F1C2B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

31, 28, 43

Red: 31 / Green: 28 / Blue: 43

HSL

252°, 21%, 14%

Hue: 252° / Saturation: 21% / Lightness: 14%

CMYK

28%, 35%, 0%, 83%

Cyan: 28% / Magenta: 35% / Yellow: 0% / Key: 83%

What color is #1F1C2B?

#1F1C2B is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1F1C2B to RGB:

rgb(31, 28, 43)HEX to RGB Converter →

HEX to HSL

Convert #1F1C2B to HSL:

hsl(252, 21%, 14%)RGB to HSL Converter →

HEX to CMYK

Convert #1F1C2B to CMYK:

cmyk(28%, 35%, 0%, 83%)Color Converter →

Color Meaning and Usage

#1F1C2B is a rich blue color with RGB values of 31, 28, 43 and HSL of 252°, 21%, 14%. This very dark shade evokes sophistication and elegance, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #1F1C2B is #282B1C, creating high-contrast pairings. For softer combinations, try analogous colors like #1C212B.

Use #1F1C2B in CSS: color: #1F1C2B or background-color: #1F1C2B. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #1F1C2B

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 1.26:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1F1C2B?

#1F1C2B is a rich blue color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #1F1C2B?

#1F1C2B in RGB is (31, 28, 43) - 31 red, 28 green, and 43 blue.

How to use #1F1C2B in CSS?

Use #1F1C2B directly in your CSS properties like color or background-color.

What colors go well with #1F1C2B?

#282B1C (complementary), #1C212B (analogous), and #000000 (lighter shade) work well with #1F1C2B.