#2F4154 color
The hex color #2F4154 is a dark, desaturated azure.
In the RGB color model it is made of 18.4% red, 25.5% green and 32.9% blue (47, 65, 84).
Its hue angle is 211°, with 28% saturation and 26% lightness. For print, the CMYK equivalent is 44% cyan, 23% magenta, 0% yellow and 67% black.
The closest named color is Pi (#314159), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.47:1).
#2F4154 color codes
| HEX | #2F4154 | |
|---|---|---|
| RGB | rgb(47, 65, 84) | |
| RGB percent | rgb(18.4%, 25.5%, 32.9%) | |
| HSL | hsl(211, 28%, 26%) | |
| HSV / HSB | hsv(211, 44%, 33%) | |
| CMYK | cmyk(44%, 23%, 0%, 67%) | |
| CIE LAB | lab(26.81, -1.47, -13.67) | |
| CIE LCH | lch(26.81, 13.75, 263.85) | |
| CIE XYZ | xyz(4.662, 5.025, 9.11) | |
| Decimal | 3096916 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F4154, 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 #2F4154 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.01:1 | Fail | Fail | Fail |
| Sample text | 10.47:1 | Pass | Pass | Pass |
| #2F4154 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.47:1 | Pass | Pass | Pass |
| Sample text | 2.01: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 #2F4154 looks to people with the most common types of color vision deficiency.
#3a4155Protanopia
no red cones#353e54Deuteranopia
no green cones#224547Tritanopia
no blue cones#3f3f3fAchromatopsia
no color vision
CSS examples
.background { background-color: #2f4154; }
.text { color: #2f4154; }
.border { border: 2px solid #2f4154; }
.transparent { background-color: rgb(47 65 84 / 50%); }
.gradient { background: linear-gradient(to right, #2f4154, #302f54); }
Similar colors
#314159Pi#353f51Dark & Stormy#29465bOne Year of Rain#314662Stay the Night#3e4855Starless Night#324c64Bluedgeons#253f4eDepths of the Nile#3a4a63Silent Sea
Closest common color name: Charcoal.
Questions
- What color is #2F4154?
- #2F4154 is a dark, desaturated azure, closest to the named color Pi. It belongs to the blue family of colors.
- What is the RGB value of #2F4154?
- The RGB value is 47, 65, 84: 47 red, 65 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #2F4154?
- The complementary color is #54422F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F4154?
- White text. Black text has a contrast ratio of 2.01:1 and white text 10.47:1. WCAG asks for at least 4.5:1 for normal text.