#2A5671 color
The hex color #2A5671 is a dark, desaturated azure.
In the RGB color model it is made of 16.5% red, 33.7% green and 44.3% blue (42, 86, 113).
Its hue angle is 203°, with 46% saturation and 30% lightness. For print, the CMYK equivalent is 63% cyan, 24% magenta, 0% yellow and 56% black.
The closest named color is Nautical Creatures (#295C7A), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.87:1).
#2A5671 color codes
| HEX | #2A5671 | |
|---|---|---|
| RGB | rgb(42, 86, 113) | |
| RGB percent | rgb(16.5%, 33.7%, 44.3%) | |
| HSL | hsl(203, 46%, 30%) | |
| HSV / HSB | hsv(203, 63%, 44%) | |
| CMYK | cmyk(63%, 24%, 0%, 56%) | |
| CIE LAB | lab(34.68, -6.28, -19.99) | |
| CIE LCH | lch(34.68, 20.95, 252.56) | |
| CIE XYZ | xyz(7.262, 8.339, 16.847) | |
| Decimal | 2774641 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2A5671, 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 #2A5671 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.67:1 | Fail | Fail | Fail |
| Sample text | 7.87:1 | Pass | Pass | Pass |
| #2A5671 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.87:1 | Pass | Pass | Pass |
| Sample text | 2.67: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 #2A5671 looks to people with the most common types of color vision deficiency.
#4a5672Protanopia
no red cones#404e71Deuteranopia
no green cones#005d5fTritanopia
no blue cones#525252Achromatopsia
no color vision
CSS examples
.background { background-color: #2a5671; }
.text { color: #2a5671; }
.border { border: 2px solid #2a5671; }
.transparent { background-color: rgb(42 86 113 / 50%); }
.gradient { background: linear-gradient(to right, #2a5671, #2a3371); }
Similar colors
#295c7aNautical Creatures#2255773AM in Shibuya#115674Moroccan Blue#204d68Seafarer#255367Juggernaut#314e64Outer Space#005572Night Kite#115a82Whale’s Tale
Closest common color name: Charcoal.
Questions
- What color is #2A5671?
- #2A5671 is a dark, desaturated azure, closest to the named color Nautical Creatures. It belongs to the blue family of colors.
- What is the RGB value of #2A5671?
- The RGB value is 42, 86, 113: 42 red, 86 green and 113 blue on a 0 to 255 scale.
- What is the complementary color of #2A5671?
- The complementary color is #71452A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2A5671?
- White text. Black text has a contrast ratio of 2.67:1 and white text 7.87:1. WCAG asks for at least 4.5:1 for normal text.