#2D3A54 color
The hex color #2D3A54 is a dark, desaturated blue.
In the RGB color model it is made of 17.6% red, 22.7% green and 32.9% blue (45, 58, 84).
Its hue angle is 220°, with 30% saturation and 25% lightness. For print, the CMYK equivalent is 46% cyan, 31% magenta, 0% yellow and 67% black.
The closest named color is Nautilus (#273C5A), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.38:1).
#2D3A54 color codes
| HEX | #2D3A54 | |
|---|---|---|
| RGB | rgb(45, 58, 84) | |
| RGB percent | rgb(17.6%, 22.7%, 32.9%) | |
| HSL | hsl(220, 30%, 25%) | |
| HSV / HSB | hsv(220, 46%, 33%) | |
| CMYK | cmyk(46%, 31%, 0%, 67%) | |
| CIE LAB | lab(24.4, 2.57, -17.4) | |
| CIE LCH | lch(24.4, 17.59, 278.4) | |
| CIE XYZ | xyz(4.195, 4.224, 8.98) | |
| Decimal | 2964052 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D3A54, 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 #2D3A54 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.84:1 | Fail | Fail | Fail |
| Sample text | 11.38:1 | Pass | Pass | Pass |
| #2D3A54 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.38:1 | Pass | Pass | Pass |
| Sample text | 1.84: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 #2D3A54 looks to people with the most common types of color vision deficiency.
#313c55Protanopia
no red cones#2d3853Deuteranopia
no green cones#1f3f43Tritanopia
no blue cones#3a3a3aAchromatopsia
no color vision
CSS examples
.background { background-color: #2d3a54; }
.text { color: #2d3a54; }
.border { border: 2px solid #2d3a54; }
.transparent { background-color: rgb(45 58 84 / 50%); }
.gradient { background: linear-gradient(to right, #2d3a54, #342d54); }
Similar colors
#273c5aNautilus#2e3858Mediaeval Blue#314159Pi#353f51Dark & Stormy#2c4364Black Turmeric#2b3458Midnight Escapade#314662Stay the Night#3a4866Bonne Nuit
Closest common color name: Prussian Blue.
Questions
- What color is #2D3A54?
- #2D3A54 is a dark, desaturated blue, closest to the named color Nautilus. It belongs to the blue family of colors.
- What is the RGB value of #2D3A54?
- The RGB value is 45, 58, 84: 45 red, 58 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #2D3A54?
- The complementary color is #54472D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D3A54?
- White text. Black text has a contrast ratio of 1.84:1 and white text 11.38:1. WCAG asks for at least 4.5:1 for normal text.