#2A344F color
The hex color #2A344F is a dark, desaturated blue.
In the RGB color model it is made of 16.5% red, 20.4% green and 31% blue (42, 52, 79).
Its hue angle is 224°, with 31% saturation and 24% lightness. For print, the CMYK equivalent is 47% cyan, 34% magenta, 0% yellow and 69% black.
The closest named color is Mediaeval Blue (#2E3858), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.33:1).
#2A344F color codes
| HEX | #2A344F | |
|---|---|---|
| RGB | rgb(42, 52, 79) | |
| RGB percent | rgb(16.5%, 20.4%, 31%) | |
| HSL | hsl(224, 31%, 24%) | |
| HSV / HSB | hsv(224, 47%, 31%) | |
| CMYK | cmyk(47%, 34%, 0%, 69%) | |
| CIE LAB | lab(21.99, 4.07, -17.86) | |
| CIE LCH | lch(21.99, 18.32, 282.83) | |
| CIE XYZ | xyz(3.594, 3.513, 7.884) | |
| Decimal | 2765903 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2A344F, 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 #2A344F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.7:1 | Fail | Fail | Fail |
| Sample text | 12.33:1 | Pass | Pass | Pass |
| #2A344F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.33:1 | Pass | Pass | Pass |
| Sample text | 1.7: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 #2A344F looks to people with the most common types of color vision deficiency.
#2b3650Protanopia
no red cones#27334eDeuteranopia
no green cones#1d3a3eTritanopia
no blue cones#353535Achromatopsia
no color vision
CSS examples
.background { background-color: #2a344f; }
.text { color: #2a344f; }
.border { border: 2px solid #2a344f; }
.transparent { background-color: rgb(42 52 79 / 50%); }
.gradient { background: linear-gradient(to right, #2a344f, #322a4f); }
Similar colors
#2e3858Mediaeval Blue#2b3458Midnight Escapade#2c2e47Midnight Masquerade#1c2841Eternal Darkness#273c5aNautilus#333344Shuriken#21263aMidnight Express#314159Pi
Closest common color name: Prussian Blue.
Questions
- What color is #2A344F?
- #2A344F is a dark, desaturated blue, closest to the named color Mediaeval Blue. It belongs to the blue family of colors.
- What is the RGB value of #2A344F?
- The RGB value is 42, 52, 79: 42 red, 52 green and 79 blue on a 0 to 255 scale.
- What is the complementary color of #2A344F?
- The complementary color is #4F452A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2A344F?
- White text. Black text has a contrast ratio of 1.7:1 and white text 12.33:1. WCAG asks for at least 4.5:1 for normal text.