#2D518E color
The hex color #2D518E is a dark, moderate azure.
In the RGB color model it is made of 17.6% red, 31.8% green and 55.7% blue (45, 81, 142).
Its hue angle is 218°, with 52% saturation and 37% lightness. For print, the CMYK equivalent is 68% cyan, 43% magenta, 0% yellow and 44% black.
The closest named color is Nightly Activities (#2E5090), a difference of 0.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.84:1).
#2D518E color codes
| HEX | #2D518E | |
|---|---|---|
| RGB | rgb(45, 81, 142) | |
| RGB percent | rgb(17.6%, 31.8%, 55.7%) | |
| HSL | hsl(218, 52%, 37%) | |
| HSV / HSB | hsv(218, 68%, 56%) | |
| CMYK | cmyk(68%, 43%, 0%, 44%) | |
| CIE LAB | lab(34.79, 8.16, -37.67) | |
| CIE LCH | lch(34.79, 38.54, 282.23) | |
| CIE XYZ | xyz(8.905, 8.395, 26.737) | |
| Decimal | 2969998 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D518E, 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 #2D518E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.68:1 | Fail | Fail | Fail |
| Sample text | 7.84:1 | Pass | Pass | Pass |
| #2D518E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.84:1 | Pass | Pass | Pass |
| Sample text | 2.68: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 #2D518E looks to people with the most common types of color vision deficiency.
#355790Protanopia
no red cones#254e8dDeuteranopia
no green cones#005f68Tritanopia
no blue cones#525252Achromatopsia
no color vision
CSS examples
.background { background-color: #2d518e; }
.text { color: #2d518e; }
.border { border: 2px solid #2d518e; }
.transparent { background-color: rgb(45 81 142 / 50%); }
.gradient { background: linear-gradient(to right, #2d518e, #3a2d8e); }
Similar colors
#2e5090Nightly Activities#244e94Le Grand Bleu#2d4f83Assassin#2d5284Galaxy Blue#335588Glimpse of Void#234e86Night Mode#1c4d8fDancing Sea#1c4c8cOlympian Blue
Closest common color name: Cobalt Blue.
Questions
- What color is #2D518E?
- #2D518E is a dark, moderate azure, closest to the named color Nightly Activities. It belongs to the blue family of colors.
- What is the RGB value of #2D518E?
- The RGB value is 45, 81, 142: 45 red, 81 green and 142 blue on a 0 to 255 scale.
- What is the complementary color of #2D518E?
- The complementary color is #8E6A2D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D518E?
- White text. Black text has a contrast ratio of 2.68:1 and white text 7.84:1. WCAG asks for at least 4.5:1 for normal text.