#031B15 Color Information

Hex color code: #031B15

A dark cyan shade, #031B15 appears as (3, 27, 21) in RGB and (165°, 80%, 6%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameBlack
HEX
#031B15
RGB
3, 27, 21
HSL
165°, 80%, 6%
CMYK
89%, 0%, 22%, 89%

Shades

CSS Usage
color: #031B15;
background-color: #031B15;
border-color: #031B15;
box-shadow: 0 0 10px #031B15;
border: 2px solid #031B15;
Tailwind Usage
bg-[#031B15]
text-[#031B15]
border-[#031B15]
shadow-[0_0_10px_031B15]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #031B15, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #031B15; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #031B15; 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 #031B15; background-color: #031B1515; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #031B1520; border-left: 4px solid #031B15; }

Link / Accent

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

a { color: #031B15; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #031B15 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

3, 27, 21

Red: 3 / Green: 27 / Blue: 21

HSL

165°, 80%, 6%

Hue: 165° / Saturation: 80% / Lightness: 6%

CMYK

89%, 0%, 22%, 89%

Cyan: 89% / Magenta: 0% / Yellow: 22% / Key: 89%

What color is #031B15?

#031B15 is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #031B15 to RGB:

rgb(3, 27, 21)HEX to RGB Converter →

HEX to HSL

Convert #031B15 to HSL:

hsl(165, 80%, 6%)RGB to HSL Converter →

HEX to CMYK

Convert #031B15 to CMYK:

cmyk(89%, 0%, 22%, 89%)Color Converter →

Color Meaning and Usage

#031B15 is a dramatic cyan color with RGB values of 3, 27, 21 and HSL of 165°, 80%, 6%. This very dark shade evokes sophistication and elegance, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #031B15 is #1C0309, creating high-contrast pairings. For softer combinations, try analogous colors like #031C09.

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

Contrast with #031B15

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #031B15?

#031B15 is a dramatic cyan color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #031B15?

#031B15 in RGB is (3, 27, 21) - 3 red, 27 green, and 21 blue.

How to use #031B15 in CSS?

Use #031B15 directly in your CSS properties like color or background-color.

What colors go well with #031B15?

#1C0309 (complementary), #031C09 (analogous), and #000000 (lighter shade) work well with #031B15.