#2F507D color
The hex color #2F507D is a dark, desaturated azure.
In the RGB color model it is made of 18.4% red, 31.4% green and 49% blue (47, 80, 125).
Its hue angle is 215°, with 45% saturation and 34% lightness. For print, the CMYK equivalent is 62% cyan, 36% magenta, 0% yellow and 51% black.
The closest named color is Slumber (#2D517C), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.19:1).
#2F507D color codes
| HEX | #2F507D | |
|---|---|---|
| RGB | rgb(47, 80, 125) | |
| RGB percent | rgb(18.4%, 31.4%, 49%) | |
| HSL | hsl(215, 45%, 34%) | |
| HSV / HSB | hsv(215, 62%, 49%) | |
| CMYK | cmyk(62%, 36%, 0%, 51%) | |
| CIE LAB | lab(33.61, 2.9, -29.1) | |
| CIE LCH | lch(33.61, 29.24, 275.7) | |
| CIE XYZ | xyz(7.741, 7.822, 20.5) | |
| Decimal | 3100797 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F507D, 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 #2F507D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.56:1 | Fail | Fail | Fail |
| Sample text | 8.19:1 | Pass | Pass | Pass |
| #2F507D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.19:1 | Pass | Pass | Pass |
| Sample text | 2.56: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 #2F507D looks to people with the most common types of color vision deficiency.
#3d537fProtanopia
no red cones#334c7cDeuteranopia
no green cones#005a60Tritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #2f507d; }
.text { color: #2f507d; }
.border { border: 2px solid #2f507d; }
.transparent { background-color: rgb(47 80 125 / 50%); }
.gradient { background: linear-gradient(to right, #2f507d, #352f7d); }
Similar colors
#2d517cSlumber#2d4f83Assassin#2d5284Galaxy Blue#234e86Night Mode#39527dSt. Tropaz#335588Glimpse of Void#2e4a7dNautical#314a76Dragonfly
Closest common color name: Cobalt Blue.
Questions
- What color is #2F507D?
- #2F507D 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 #2F507D?
- The RGB value is 47, 80, 125: 47 red, 80 green and 125 blue on a 0 to 255 scale.
- What is the complementary color of #2F507D?
- The complementary color is #7D5C2F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F507D?
- White text. Black text has a contrast ratio of 2.56:1 and white text 8.19:1. WCAG asks for at least 4.5:1 for normal text.