#2A527C color
The hex color #2A527C is a dark, desaturated azure.
In the RGB color model it is made of 16.5% red, 32.2% green and 48.6% blue (42, 82, 124).
Its hue angle is 211°, with 49% saturation and 33% lightness. For print, the CMYK equivalent is 66% cyan, 34% magenta, 0% yellow and 51% black.
The closest named color is Slumber (#2D517C), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.09:1).
#2A527C color codes
| HEX | #2A527C | |
|---|---|---|
| RGB | rgb(42, 82, 124) | |
| RGB percent | rgb(16.5%, 32.2%, 48.6%) | |
| HSL | hsl(211, 49%, 33%) | |
| HSV / HSB | hsv(211, 66%, 49%) | |
| CMYK | cmyk(66%, 34%, 0%, 51%) | |
| CIE LAB | lab(33.94, 0.22, -27.97) | |
| CIE LCH | lch(33.94, 27.97, 270.44) | |
| CIE XYZ | xyz(7.609, 7.981, 20.204) | |
| Decimal | 2773628 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2A527C, 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 #2A527C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.6:1 | Fail | Fail | Fail |
| Sample text | 8.09:1 | Pass | Pass | Pass |
| #2A527C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.09: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 #2A527C looks to people with the most common types of color vision deficiency.
#40547eProtanopia
no red cones#354c7bDeuteranopia
no green cones#005c61Tritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #2a527c; }
.text { color: #2a527c; }
.border { border: 2px solid #2a527c; }
.transparent { background-color: rgb(42 82 124 / 50%); }
.gradient { background: linear-gradient(to right, #2a527c, #2b2a7c); }
Similar colors
#2d517cSlumber#2d5284Galaxy Blue#234e86Night Mode#2d4f83Assassin#335588Glimpse of Void#39527dSt. Tropaz#254770Pretty Twilight Night#005588Dark Denim
Closest common color name: Denim.
Questions
- What color is #2A527C?
- #2A527C 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 #2A527C?
- The RGB value is 42, 82, 124: 42 red, 82 green and 124 blue on a 0 to 255 scale.
- What is the complementary color of #2A527C?
- The complementary color is #7C542A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2A527C?
- White text. Black text has a contrast ratio of 2.6:1 and white text 8.09:1. WCAG asks for at least 4.5:1 for normal text.