#2D4F5F color
The hex color #2D4F5F is a dark, desaturated azure.
In the RGB color model it is made of 17.6% red, 31% green and 37.3% blue (45, 79, 95).
Its hue angle is 199°, with 36% saturation and 27% lightness. For print, the CMYK equivalent is 53% cyan, 17% magenta, 0% yellow and 63% black.
The closest named color is Shadow of Night (#2A4F61), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.77:1).
#2D4F5F color codes
| HEX | #2D4F5F | |
|---|---|---|
| RGB | rgb(45, 79, 95) | |
| RGB percent | rgb(17.6%, 31%, 37.3%) | |
| HSL | hsl(199, 36%, 27%) | |
| HSV / HSB | hsv(199, 53%, 37%) | |
| CMYK | cmyk(53%, 17%, 0%, 63%) | |
| CIE LAB | lab(31.75, -7.37, -13.18) | |
| CIE LCH | lch(31.75, 15.1, 240.78) | |
| CIE XYZ | xyz(5.943, 6.976, 11.858) | |
| Decimal | 2969439 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D4F5F, 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 #2D4F5F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.4:1 | Fail | Fail | Fail |
| Sample text | 8.77:1 | Pass | Pass | Pass |
| #2D4F5F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.77: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 #2D4F5F looks to people with the most common types of color vision deficiency.
#474e60Protanopia
no red cones#40485fDeuteranopia
no green cones#135454Tritanopia
no blue cones#4b4b4bAchromatopsia
no color vision
CSS examples
.background { background-color: #2d4f5f; }
.text { color: #2d4f5f; }
.border { border: 2px solid #2d4f5f; }
.transparent { background-color: rgb(45 79 95 / 50%); }
.gradient { background: linear-gradient(to right, #2d4f5f, #2d365f); }
Similar colors
#2a4f61Shadow of Night#37525fMoonlit Sonata#255367Juggernaut#344d58Nocturne#254855Mallard#3e5361Dark Secret#314e64Outer Space#3f5865Stargazer
Closest common color name: Charcoal.
Questions
- What color is #2D4F5F?
- #2D4F5F 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 #2D4F5F?
- The RGB value is 45, 79, 95: 45 red, 79 green and 95 blue on a 0 to 255 scale.
- What is the complementary color of #2D4F5F?
- The complementary color is #5F3D2D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D4F5F?
- White text. Black text has a contrast ratio of 2.4:1 and white text 8.77:1. WCAG asks for at least 4.5:1 for normal text.