#2F5278 color
The hex color #2F5278 is a dark, desaturated azure.
In the RGB color model it is made of 18.4% red, 32.2% green and 47.1% blue (47, 82, 120).
Its hue angle is 211°, with 44% saturation and 33% lightness. For print, the CMYK equivalent is 61% cyan, 32% magenta, 0% yellow and 53% black.
The closest named color is Slumber (#2D517C), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.08:1).
#2F5278 color codes
| HEX | #2F5278 | |
|---|---|---|
| RGB | rgb(47, 82, 120) | |
| RGB percent | rgb(18.4%, 32.2%, 47.1%) | |
| HSL | hsl(211, 44%, 33%) | |
| HSV / HSB | hsv(211, 61%, 47%) | |
| CMYK | cmyk(61%, 32%, 0%, 53%) | |
| CIE LAB | lab(33.97, -0.19, -25.43) | |
| CIE LCH | lch(33.97, 25.43, 269.58) | |
| CIE XYZ | xyz(7.579, 7.994, 18.909) | |
| Decimal | 3101304 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F5278, 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 #2F5278 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.6:1 | Fail | Fail | Fail |
| Sample text | 8.08:1 | Pass | Pass | Pass |
| #2F5278 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.08:1 | Pass | Pass | Pass |
| Sample text | 2.6: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 #2F5278 looks to people with the most common types of color vision deficiency.
#42547aProtanopia
no red cones#394d77Deuteranopia
no green cones#005b5fTritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #2f5278; }
.text { color: #2f5278; }
.border { border: 2px solid #2f5278; }
.transparent { background-color: rgb(47 82 120 / 50%); }
.gradient { background: linear-gradient(to right, #2f5278, #312f78); }
Similar colors
#2d517cSlumber#2d5284Galaxy Blue#2d4f83Assassin#335588Glimpse of Void#39527dSt. Tropaz#254770Pretty Twilight Night#314a76Dragonfly#2e4a7dNautical
Closest common color name: Denim.
Questions
- What color is #2F5278?
- #2F5278 is a dark, desaturated azure, closest to the named color Slumber. It belongs to the blue family of colors.
- What is the RGB value of #2F5278?
- The RGB value is 47, 82, 120: 47 red, 82 green and 120 blue on a 0 to 255 scale.
- What is the complementary color of #2F5278?
- The complementary color is #78552F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F5278?
- White text. Black text has a contrast ratio of 2.6:1 and white text 8.08:1. WCAG asks for at least 4.5:1 for normal text.