What is hex #042338 color?

 
In professional design frameworks, this hue is considered a deep, muted shade. It is excellent for rich backgrounds, high-contrast typography, or sophisticated dark mode user interfaces.

From a technical standpoint, this color is composed of 2% red, 14% green and 22% blue, resulting in an RGB value of (4,35,56).
For print media and manufacturing layout, the CMYK colors code equivalent is (93%, 38%, 0%, 78%).
In the HSV/HSB scale, #042338 features a hue of 204°, 93% saturation, and a brightness value of 22%.

Hex #042338 Color Codes & Equivalents

RGB Values (4,35,56)
CMYK Values (93%, 38%, 0%, 78%)
HSV/HSB Values (204°, 93%, 22%)
Closest Web Safe
#003333
Inverse Color
#FBDCC7
Closest Pantone®
539 C
Closest RAL
RAL 5011 [Steel blue]
Complementary Color
#381904

#042338 Converted to Grayscale Codes

Average
#1F1F1F
Lightness (Desaturation)
#1E1E1E
Weighted (BT601)
#1C1C1C
Luma (BT709)
#1E1E1E

Hex #042338 Color Palettes

Complementary Palette

The complementary color of #042338 is #381904. To get this value, we need to use the RGB metrics, and take this opposite color at the end of the color wheel, so for #042338 you will find #381904. When placed next to each other, they create the strongest contrast for those two colors. Complementary colors may also be called "opposite colors". So if you need to grab attention, you should use it.

Analogous Palette

The analogous color scheme of #042338 is composed with colors #043833 and #040938. Colors are called analogous colors when they are very similar to each other. They are located to the right and left of your main color #042338 with a 30° separation on the RGB color wheel. An analogous color palette is best used with either warm or cool colors, creating a look that has a certain temperature as well as proper color harmony.

Split-Complementary Palette

The split-complementary color scheme of #042338 is composed with colors #383304 and #380409. A split-complementary color palette is like an analogous palette but you will take the complementary color as base instead of your main color. This choice, however, also makes the split complementary color combinations less vibrant and eye-catching, but it's also a good choice for beginners as you can hardly go wrong.

Triadic Palette

The triadic color scheme of #042338 is composed with colors #233804 and #380423. They are located to the right and left of your main color #042338 with a 120° separation on the RGB color wheel. With it you have the maximum variation in hue and offering by the same occasion the best possible contrast when taken together.

Tetradic Palette

The tetradic color scheme of #042338 is composed with colors #380423, #381904 and #043819 A tetradic color scheme, an outstanding variant of the twin color scheme, with an equal distance between all colors. All four colors are divided evenly around the color wheel. Like this there being no clear dominance of one color overs others. Colorful palettes create a sense of diversity, optimism and openness which are positive for a consumer brand. You can find the tetradic color scheme on big tech company logo like Google, Slack, Zoho, Microsoft, eBay for example. For a better result, you can also adjust saturation and brightness.

Square Palette

The square color scheme of #042338 is composed with colors #330438, #381904 and #093804 To get this color, it's pretty the same method that analogous or triadic, but instead, you will take an angle of 90° on the RGB Wheel between each colors. The square palette looks a lot like the Tetradic palette but it is less dark which is nicer in my opinion.

Tints, Tones & Shades of Hex #042338

Tints

Tints are created by adding white, resulting in lighter shades of #042338.

Tones

Tones are made by mixing with gray, softening the original color.

Shades

Shades result from adding black, creating darker variations.

Hex #042338 in programming languages

If you are a developer, you will find below the color codes to use according to your programming language (HTML, JAVA, Python, .NET), enjoy!

HTML, CSS #042338
Java new Color(4,35,56);
Python Color(#042338)
.NET Color.FromArgb(255, 4,35,56);
Swift / iOS UIColor(red: 0.02, green: 0.14, blue: 0.22, alpha: 1)
Kotlin / Android Color.rgb(4, 35, 56)