#2C3B42 color
The hex color #2C3B42 is a dark, grayish azure.
In the RGB color model it is made of 17.3% red, 23.1% green and 25.9% blue (44, 59, 66).
Its hue angle is 199°, with 20% saturation and 22% lightness. For print, the CMYK equivalent is 33% cyan, 11% magenta, 0% yellow and 74% black.
The closest named color is Tempest in a Teapot (#303A40), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.59:1).
#2C3B42 color codes
| HEX | #2C3B42 | |
|---|---|---|
| RGB | rgb(44, 59, 66) | |
| RGB percent | rgb(17.3%, 23.1%, 25.9%) | |
| HSL | hsl(199, 20%, 22%) | |
| HSV / HSB | hsv(199, 33%, 26%) | |
| CMYK | cmyk(33%, 11%, 0%, 74%) | |
| CIE LAB | lab(23.86, -4.11, -6.3) | |
| CIE LCH | lch(23.86, 7.52, 236.92) | |
| CIE XYZ | xyz(3.586, 4.057, 5.747) | |
| Decimal | 2898754 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2C3B42, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #2C3B42 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.81:1 | Fail | Fail | Fail |
| Sample text | 11.59:1 | Pass | Pass | Pass |
| #2C3B42 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.59:1 | Pass | Pass | Pass |
| Sample text | 1.81:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #2C3B42 looks to people with the most common types of color vision deficiency.
#373a42Protanopia
no red cones#343842Deuteranopia
no green cones#253d3dTritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #2c3b42; }
.text { color: #2c3b42; }
.border { border: 2px solid #2c3b42; }
.transparent { background-color: rgb(44 59 66 / 50%); }
.gradient { background: linear-gradient(to right, #2c3b42, #2c3042); }
Similar colors
#303a40Tempest in a Teapot#243640Petrol Slumber#2a3439Gunmetal#203943Astral Nomad#1e3642Into the Night#36454fCharcoal#293135Nightmare Fuel#253f4eDepths of the Nile
Questions
- What color is #2C3B42?
- #2C3B42 is a dark, grayish azure, closest to the named color Tempest in a Teapot. It belongs to the gray family of colors.
- What is the RGB value of #2C3B42?
- The RGB value is 44, 59, 66: 44 red, 59 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #2C3B42?
- The complementary color is #42332C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2C3B42?
- White text. Black text has a contrast ratio of 1.81:1 and white text 11.59:1. WCAG asks for at least 4.5:1 for normal text.