#2F4F5E color
The hex color #2F4F5E is a dark, desaturated azure.
In the RGB color model it is made of 18.4% red, 31% green and 36.9% blue (47, 79, 94).
Its hue angle is 199°, with 33% saturation and 28% lightness. For print, the CMYK equivalent is 50% cyan, 16% magenta, 0% yellow and 63% black.
The closest named color is Shadow of Night (#2A4F61), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.75:1).
#2F4F5E color codes
| HEX | #2F4F5E | |
|---|---|---|
| RGB | rgb(47, 79, 94) | |
| RGB percent | rgb(18.4%, 31%, 36.9%) | |
| HSL | hsl(199, 33%, 28%) | |
| HSV / HSB | hsv(199, 50%, 37%) | |
| CMYK | cmyk(50%, 16%, 0%, 63%) | |
| CIE LAB | lab(31.82, -7.15, -12.44) | |
| CIE LCH | lch(31.82, 14.34, 240.1) | |
| CIE XYZ | xyz(5.988, 7.004, 11.624) | |
| Decimal | 3100510 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F4F5E, 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 #2F4F5E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.4:1 | Fail | Fail | Fail |
| Sample text | 8.75:1 | Pass | Pass | Pass |
| #2F4F5E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.75:1 | Pass | Pass | Pass |
| Sample text | 2.4: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 #2F4F5E looks to people with the most common types of color vision deficiency.
#474e5fProtanopia
no red cones#41495eDeuteranopia
no green cones#195354Tritanopia
no blue cones#4b4b4bAchromatopsia
no color vision
CSS examples
.background { background-color: #2f4f5e; }
.text { color: #2f4f5e; }
.border { border: 2px solid #2f4f5e; }
.transparent { background-color: rgb(47 79 94 / 50%); }
.gradient { background: linear-gradient(to right, #2f4f5e, #2f375e); }
Similar colors
#2a4f61Shadow of Night#37525fMoonlit Sonata#344d58Nocturne#255367Juggernaut#254855Mallard#3e5361Dark Secret#3f5865Stargazer#3b5760Great Void
Closest common color name: Charcoal.
Questions
- What color is #2F4F5E?
- #2F4F5E is a dark, desaturated azure, closest to the named color Shadow of Night. It belongs to the blue family of colors.
- What is the RGB value of #2F4F5E?
- The RGB value is 47, 79, 94: 47 red, 79 green and 94 blue on a 0 to 255 scale.
- What is the complementary color of #2F4F5E?
- The complementary color is #5E3E2F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F4F5E?
- White text. Black text has a contrast ratio of 2.4:1 and white text 8.75:1. WCAG asks for at least 4.5:1 for normal text.