#2F7F9D color
The hex color #2F7F9D is a moderate azure.
In the RGB color model it is made of 18.4% red, 49.8% green and 61.6% blue (47, 127, 157).
Its hue angle is 196°, with 54% saturation and 40% lightness. For print, the CMYK equivalent is 70% cyan, 19% magenta, 0% yellow and 38% black.
The closest named color is Ahoy! Blue (#0082A1), a difference of 2.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 4.64:1).
#2F7F9D color codes
| HEX | #2F7F9D | |
|---|---|---|
| RGB | rgb(47, 127, 157) | |
| RGB percent | rgb(18.4%, 49.8%, 61.6%) | |
| HSL | hsl(196, 54%, 40%) | |
| HSV / HSB | hsv(196, 70%, 62%) | |
| CMYK | cmyk(70%, 19%, 0%, 38%) | |
| CIE LAB | lab(49.76, -14.17, -23.14) | |
| CIE LCH | lch(49.76, 27.13, 238.52) | |
| CIE XYZ | xyz(14.845, 18.216, 34.625) | |
| Decimal | 3112861 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F7F9D, 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 #2F7F9D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.64:1 | Pass | Fail | Pass |
| Sample text | 4.52:1 | Pass | Fail | Pass |
| #2F7F9D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.52:1 | Pass | Fail | Pass |
| Sample text | 4.64:1 | Pass | Fail | Pass |
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 #2F7F9D looks to people with the most common types of color vision deficiency.
#6f7d9fProtanopia
no red cones#60719dDeuteranopia
no green cones#008889Tritanopia
no blue cones#767676Achromatopsia
no color vision
CSS examples
.background { background-color: #2f7f9d; }
.text { color: #2f7f9d; }
.border { border: 2px solid #2f7f9d; }
.transparent { background-color: rgb(47 127 157 / 50%); }
.gradient { background: linear-gradient(to right, #2f7f9d, #2f489d); }
Similar colors
#0082a1Ahoy! Blue#007ba1Bleu Ciel#167d97Pacific Pleasure#007799Pristine Seas#007894Celestial#007ba7Cerulean#008aadCorfu Waters#427898Cry Me a River
Questions
- What color is #2F7F9D?
- #2F7F9D is a moderate azure, closest to the named color Ahoy! Blue. It belongs to the blue family of colors.
- What is the RGB value of #2F7F9D?
- The RGB value is 47, 127, 157: 47 red, 127 green and 157 blue on a 0 to 255 scale.
- What is the complementary color of #2F7F9D?
- The complementary color is #9D4D2F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F7F9D?
- Black text. Black text has a contrast ratio of 4.64:1 and white text 4.52:1. WCAG asks for at least 4.5:1 for normal text.