#2F4A7A color
The hex color #2F4A7A is a dark, desaturated azure.
In the RGB color model it is made of 18.4% red, 29% green and 47.8% blue (47, 74, 122).
Its hue angle is 218°, with 44% saturation and 33% lightness. For print, the CMYK equivalent is 61% cyan, 39% magenta, 0% yellow and 52% black.
The closest named color is Nautical (#2E4A7D), a difference of 0.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.82:1).
#2F4A7A color codes
| HEX | #2F4A7A | |
|---|---|---|
| RGB | rgb(47, 74, 122) | |
| RGB percent | rgb(18.4%, 29%, 47.8%) | |
| HSL | hsl(218, 44%, 33%) | |
| HSV / HSB | hsv(218, 61%, 48%) | |
| CMYK | cmyk(61%, 39%, 0%, 52%) | |
| CIE LAB | lab(31.59, 5.76, -30.42) | |
| CIE LCH | lch(31.59, 30.96, 280.72) | |
| CIE XYZ | xyz(7.133, 6.906, 19.366) | |
| Decimal | 3099258 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F4A7A, 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 #2F4A7A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.38:1 | Fail | Fail | Fail |
| Sample text | 8.82:1 | Pass | Pass | Pass |
| #2F4A7A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.82:1 | Pass | Pass | Pass |
| Sample text | 2.38: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 #2F4A7A looks to people with the most common types of color vision deficiency.
#364e7cProtanopia
no red cones#2c4779Deuteranopia
no green cones#00555cTritanopia
no blue cones#4a4a4aAchromatopsia
no color vision
CSS examples
.background { background-color: #2f4a7a; }
.text { color: #2f4a7a; }
.border { border: 2px solid #2f4a7a; }
.transparent { background-color: rgb(47 74 122 / 50%); }
.gradient { background: linear-gradient(to right, #2f4a7a, #392f7a); }
Similar colors
#2e4a7dNautical#314a76Dragonfly#32496fMidnight Interlude#394d78Noble Knight#2d4f83Assassin#2d4470Blue Funk#254770Pretty Twilight Night#1e4581Maritime Outpost
Closest common color name: Cobalt Blue.
Questions
- What color is #2F4A7A?
- #2F4A7A is a dark, desaturated azure, closest to the named color Nautical. It belongs to the blue family of colors.
- What is the RGB value of #2F4A7A?
- The RGB value is 47, 74, 122: 47 red, 74 green and 122 blue on a 0 to 255 scale.
- What is the complementary color of #2F4A7A?
- The complementary color is #7A5F2F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F4A7A?
- White text. Black text has a contrast ratio of 2.38:1 and white text 8.82:1. WCAG asks for at least 4.5:1 for normal text.