#2B517D color
The hex color #2B517D is a dark, desaturated azure.
In the RGB color model it is made of 16.9% red, 31.8% green and 49% blue (43, 81, 125).
Its hue angle is 212°, with 49% saturation and 33% lightness. For print, the CMYK equivalent is 66% cyan, 35% magenta, 0% yellow and 51% black.
The closest named color is Slumber (#2D517C), a difference of 0.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.15:1).
#2B517D color codes
| HEX | #2B517D | |
|---|---|---|
| RGB | rgb(43, 81, 125) | |
| RGB percent | rgb(16.9%, 31.8%, 49%) | |
| HSL | hsl(212, 49%, 33%) | |
| HSV / HSB | hsv(212, 66%, 49%) | |
| CMYK | cmyk(66%, 35%, 0%, 51%) | |
| CIE LAB | lab(33.73, 1.43, -28.92) | |
| CIE LCH | lch(33.73, 28.96, 272.83) | |
| CIE XYZ | xyz(7.639, 7.878, 20.516) | |
| Decimal | 2838909 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2B517D, 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 #2B517D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.58:1 | Fail | Fail | Fail |
| Sample text | 8.15:1 | Pass | Pass | Pass |
| #2B517D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.15:1 | Pass | Pass | Pass |
| Sample text | 2.58: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 #2B517D looks to people with the most common types of color vision deficiency.
#3e547fProtanopia
no red cones#334c7cDeuteranopia
no green cones#005b61Tritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #2b517d; }
.text { color: #2b517d; }
.border { border: 2px solid #2b517d; }
.transparent { background-color: rgb(43 81 125 / 50%); }
.gradient { background: linear-gradient(to right, #2b517d, #2e2b7d); }
Similar colors
#2d517cSlumber#2d5284Galaxy Blue#2d4f83Assassin#234e86Night Mode#335588Glimpse of Void#39527dSt. Tropaz#2e4a7dNautical#254770Pretty Twilight Night
Closest common color name: Cobalt Blue.
Questions
- What color is #2B517D?
- #2B517D 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 #2B517D?
- The RGB value is 43, 81, 125: 43 red, 81 green and 125 blue on a 0 to 255 scale.
- What is the complementary color of #2B517D?
- The complementary color is #7D572B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2B517D?
- White text. Black text has a contrast ratio of 2.58:1 and white text 8.15:1. WCAG asks for at least 4.5:1 for normal text.