#2F424B color
The hex color #2F424B is a dark, grayish azure.
In the RGB color model it is made of 18.4% red, 25.9% green and 29.4% blue (47, 66, 75).
Its hue angle is 199°, with 23% saturation and 24% lightness. For print, the CMYK equivalent is 37% cyan, 12% magenta, 0% yellow and 71% black.
The closest named color is Charcoal (#36454F), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.49:1).
#2F424B color codes
| HEX | #2F424B | |
|---|---|---|
| RGB | rgb(47, 66, 75) | |
| RGB percent | rgb(18.4%, 25.9%, 29.4%) | |
| HSL | hsl(199, 23%, 24%) | |
| HSV / HSB | hsv(199, 37%, 29%) | |
| CMYK | cmyk(37%, 12%, 0%, 71%) | |
| CIE LAB | lab(26.76, -4.91, -7.86) | |
| CIE LCH | lch(26.76, 9.27, 238.02) | |
| CIE XYZ | xyz(4.39, 5.009, 7.391) | |
| Decimal | 3097163 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F424B, 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 #2F424B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2:1 | Fail | Fail | Fail |
| Sample text | 10.49:1 | Pass | Pass | Pass |
| #2F424B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.49:1 | Pass | Pass | Pass |
| Sample text | 2: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 #2F424B looks to people with the most common types of color vision deficiency.
#3d414bProtanopia
no red cones#393e4bDeuteranopia
no green cones#254545Tritanopia
no blue cones#3f3f3fAchromatopsia
no color vision
CSS examples
.background { background-color: #2f424b; }
.text { color: #2f424b; }
.border { border: 2px solid #2f424b; }
.transparent { background-color: rgb(47 66 75 / 50%); }
.gradient { background: linear-gradient(to right, #2f424b, #2f344b); }
Similar colors
#36454fCharcoal#253f4eDepths of the Nile#203943Astral Nomad#2d454aLittle Mermaid#344d58Nocturne#243640Petrol Slumber#303a40Tempest in a Teapot#3b444bArsenic
Questions
- What color is #2F424B?
- #2F424B is a dark, grayish azure, closest to the named color Charcoal. It belongs to the gray family of colors.
- What is the RGB value of #2F424B?
- The RGB value is 47, 66, 75: 47 red, 66 green and 75 blue on a 0 to 255 scale.
- What is the complementary color of #2F424B?
- The complementary color is #4B382F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F424B?
- White text. Black text has a contrast ratio of 2:1 and white text 10.49:1. WCAG asks for at least 4.5:1 for normal text.