#2F294D color
The hex color #2F294D is a dark, desaturated violet.
In the RGB color model it is made of 18.4% red, 16.1% green and 30.2% blue (47, 41, 77).
Its hue angle is 250°, with 31% saturation and 23% lightness. For print, the CMYK equivalent is 39% cyan, 47% magenta, 0% yellow and 70% black.
The closest named color is Midnight Pie (#372D52), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.59:1).
#2F294D color codes
| HEX | #2F294D | |
|---|---|---|
| RGB | rgb(47, 41, 77) | |
| RGB percent | rgb(18.4%, 16.1%, 30.2%) | |
| HSL | hsl(250, 31%, 23%) | |
| HSV / HSB | hsv(250, 47%, 30%) | |
| CMYK | cmyk(39%, 47%, 0%, 70%) | |
| CIE LAB | lab(18.91, 12.71, -21.32) | |
| CIE LCH | lch(18.91, 24.82, 300.8) | |
| CIE XYZ | xyz(3.304, 2.726, 7.372) | |
| Decimal | 3090765 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F294D, 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 #2F294D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.55:1 | Fail | Fail | Fail |
| Sample text | 13.59:1 | Pass | Pass | Pass |
| #2F294D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.59:1 | Pass | Pass | Pass |
| Sample text | 1.55: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 #2F294D looks to people with the most common types of color vision deficiency.
#1d2f4eProtanopia
no red cones#1d2d4cDeuteranopia
no green cones#273037Tritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #2f294d; }
.text { color: #2f294d; }
.border { border: 2px solid #2f294d; }
.transparent { background-color: rgb(47 41 77 / 50%); }
.gradient { background: linear-gradient(to right, #2f294d, #41294d); }
Similar colors
#372d52Midnight Pie#322c56Purple Noir#2a2243Midnight Velvet#2a2551Pāua#2c2c57Deep Sea Base#222244Black Market#3c2f4eSanctum of Shadows#2e305eGalaxea
Closest common color name: Dark Purple.
Questions
- What color is #2F294D?
- #2F294D is a dark, desaturated violet, closest to the named color Midnight Pie. It belongs to the blue family of colors.
- What is the RGB value of #2F294D?
- The RGB value is 47, 41, 77: 47 red, 41 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #2F294D?
- The complementary color is #474D29, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F294D?
- White text. Black text has a contrast ratio of 1.55:1 and white text 13.59:1. WCAG asks for at least 4.5:1 for normal text.