✓ Copied to clipboard
#40474A (Dark Gray) color swatch preview — Color From Pic.
#40474A — Dark Gray color swatch

Dark Gray

#40474A

📝 Color Information for #40474A

The hexadecimal color code #40474A represents a dark shade in the gray family. In the RGB color model, this color is composed of 64 red, 71 green, and 74 blue, which translates to approximately 25% red, 28% green, and 29% blue. This makes it a nearly neutral color with cool undertones that can evoke different emotional responses depending on its application. When analyzed in the HSL (Hue, Saturation, Lightness) color space, #40474A has a hue of 198 degrees, a saturation level of 7%, and a lightness value of 27%. The hue angle of 198° places this color firmly in the gray spectrum. In the HSV/HSB color model, this translates to a hue of 198°, saturation of 14%, and brightness/value of 29%. For print applications using the CMYK color model, #40474A would be reproduced using 14% cyan, 4% magenta, 0% yellow, and 71% black. The closest web-safe color is #333333, which may be useful for ensuring compatibility across older displays and systems. This color works well in various design contexts. As a darker shade, it works well for text, headers, and creating visual weight in compositions. The moderate to low saturation gives this color a sophisticated, muted quality that works well in professional and minimalist designs. When pairing #40474A with other colors, consider its complementary color at hue 18° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 4212554, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #40474A

Tailwind CSS
zinc-700
HEX
#40474A
RGB
rgb(64, 71, 74)
RGB %
25%, 28%, 29%
HSL
hsl(198, 7%, 27%)
HSV
hsv(198, 14%, 29%)
CMYK
14%, 4%, 0%, 71%
Decimal
4212554
Web Safe
#333333

🎨 Color Schemes for #40474A

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #40474A

🌗 Shades and Tints of #40474A

Shades (adding black)
Tints (adding white)

🎚️ Tones of #40474A

Tones (adding gray / desaturating)

🌈 Hue Variations of #40474A

Hue Variations (shifting the color spectrum)

👁️ Preview of #40474A in Use

Text on #40474A
This demonstrates text readability on the color background. (Click to edit)
#40474A as Text
This shows the color used as text on white. (Click to edit)

👓 Color Blindness Simulation for #40474A

Check how a color is perceived by people with different types of color blindness to create more accessible designs. Understanding color perception helps ensure your content is accessible to everyone.

📋 CSS Code for #40474A

:root { --color-hex: #40474A; --color-rgb: 64, 71, 74; --color-hsl: 198, 7%, 27%; } .bg-color { background-color: #40474A; } .text-color { color: #40474A; } .border-color { border-color: #40474A; }

🛠️ Use #40474A in Your Project

🎨
Build a Palette with #40474A
Generate harmonious color schemes
⚖️
Check Contrast for #40474A
WCAG accessibility testing
🌈
Create a Gradient with #40474A
Beautiful CSS gradients

🔗 Related Colors to #40474A

#404A48
Hue -30°
#40494A
Hue -15°
#40444A
Hue +15°
#40424A
Hue +30°
#373C3F
85% L
#2D3234
70% L
#212526
50% L
#131516
30% L
#646E73
42% L
#879297
56% L
#B0B7BA
71% L
#D6DADB
85% L

About Dark Gray (#40474A)

Dark Gray is a dark, muted, cool gray color with a hue angle of 198°, saturation of 7%, and lightness of 27%. Its RGB value is (64, 71, 74) and its CMYK breakdown is C:14% M:4% Y:0% K:71%.

This is a Winter (Muted) color palette archetype. Calm, Clarity, Communication, Tech. Cyan/Teal promotes clear thinking and emotional balance.

Frequently Asked Questions About #40474A

What is the HEX code for Dark Gray? +

The HEX code for Dark Gray is #40474A. In CSS you can use it directly as color: #40474A; or as a background: background-color: #40474A;. The three-character shorthand is not available for this color since it cannot be reduced without changing the value. Use the full six-character hex for accurate reproduction in any web or design project.

What is the RGB value of #40474A? +

The RGB value of #40474A is rgb(64, 71, 74). This means the color contains 64 out of 255 parts red, 71 out of 255 parts green, and 74 out of 255 parts blue. Red is the moderate channel in this color mix. You can use the full RGB function in any CSS property: color: rgb(64, 71, 74);

What is the HSL value of #40474A? +

The HSL value of #40474A is hsl(198, 7%, 27%). The hue is 198°, placing it in the gray family on the color wheel. The saturation is 7%, making it muted. The lightness is 27%, making it dark. HSL is the most useful format for programmatic color manipulation in CSS, as you can easily adjust lightness to create tints and shades.

Is #40474A a warm or cool color? +

#40474A is classified as a cool color based on its hue angle of 198°. Cool colors — blues, greens, and purples — evoke calm, trust, and professionalism. They tend to recede visually and create a feeling of space. In design, cool colors are often used for technology, healthcare, and finance brands, as well as anywhere a sense of calm or reliability is needed.

What is the CMYK value of #40474A? +

The approximate CMYK value of #40474A is C:14% M:4% Y:0% K:71%. CMYK (Cyan, Magenta, Yellow, Key/Black) is the color model used in physical printing. Unlike RGB which mixes light additively on screens, CMYK mixes inks subtractively on paper. Note that the RGB-to-CMYK conversion is an approximation — screen colors and print colors exist in different color gamuts, and some screen colors cannot be exactly reproduced in print. For precise print work, consult a professional print color profile or Pantone matching system.

Analyze #40474A with Other Tools

🔢
Color Converter
Get all formats for #40474A — HEX, RGB, HSL, HSV, CMYK, harmonies and shades.
Contrast Checker
Test whether #40474A passes WCAG AA/AAA contrast requirements as text.
🎨
Palette Generator
Generate complementary, triadic, and analogous palettes starting from #40474A.
👓
Blindness Simulator
See how #40474A appears to users with deuteranopia, protanopia, and tritanopia.
📊
Color Analysis
Deep analysis of luminance, temperature, psychology and harmonies for #40474A.
🎭
Creative Aspects
Explore the mood, psychology, seasonal meaning, and mixing guide for #40474A.
🌅
Gradient Maker
Create a beautiful CSS linear or radial gradient starting from #40474A.
🔬
Technical Formats
See #40474A in OKLCH, Lab, HSV, XYZ, and other advanced color spaces.
🎨
Practical Formats
Get #40474A as a CSS variable, Tailwind class, design token, and more.

More Color Tools

Explore our full suite of free color utilities for designers and developers.