#2F4252 color
The hex color #2F4252 is a dark, desaturated azure.
In the RGB color model it is made of 18.4% red, 25.9% green and 32.2% blue (47, 66, 82).
Its hue angle is 207°, with 27% saturation and 25% lightness. For print, the CMYK equivalent is 43% cyan, 20% magenta, 0% yellow and 68% black.
The closest named color is One Year of Rain (#29465B), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.39:1).
#2F4252 color codes
| HEX | #2F4252 | |
|---|---|---|
| RGB | rgb(47, 66, 82) | |
| RGB percent | rgb(18.4%, 25.9%, 32.2%) | |
| HSL | hsl(207, 27%, 25%) | |
| HSV / HSB | hsv(207, 43%, 32%) | |
| CMYK | cmyk(43%, 20%, 0%, 68%) | |
| CIE LAB | lab(27.05, -2.76, -12) | |
| CIE LCH | lch(27.05, 12.31, 257.04) | |
| CIE XYZ | xyz(4.643, 5.11, 8.723) | |
| Decimal | 3097170 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F4252, 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 #2F4252 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.02:1 | Fail | Fail | Fail |
| Sample text | 10.39:1 | Pass | Pass | Pass |
| #2F4252 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.39:1 | Pass | Pass | Pass |
| Sample text | 2.02: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 #2F4252 looks to people with the most common types of color vision deficiency.
#3b4253Protanopia
no red cones#373e52Deuteranopia
no green cones#234647Tritanopia
no blue cones#404040Achromatopsia
no color vision
CSS examples
.background { background-color: #2f4252; }
.text { color: #2f4252; }
.border { border: 2px solid #2f4252; }
.transparent { background-color: rgb(47 66 82 / 50%); }
.gradient { background: linear-gradient(to right, #2f4252, #2f3052); }
Similar colors
#29465bOne Year of Rain#253f4eDepths of the Nile#36454fCharcoal#3e4855Starless Night#1a4157Capital Blue#324c64Bluedgeons#404c57Abyssal#353f51Dark & Stormy
Questions
- What color is #2F4252?
- #2F4252 is a dark, desaturated azure, closest to the named color One Year of Rain. It belongs to the gray family of colors.
- What is the RGB value of #2F4252?
- The RGB value is 47, 66, 82: 47 red, 66 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #2F4252?
- The complementary color is #523F2F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F4252?
- White text. Black text has a contrast ratio of 2.02:1 and white text 10.39:1. WCAG asks for at least 4.5:1 for normal text.