#2D3864 color
The hex color #2D3864 is a dark, desaturated blue.
In the RGB color model it is made of 17.6% red, 22% green and 39.2% blue (45, 56, 100).
Its hue angle is 228°, with 38% saturation and 28% lightness. For print, the CMYK equivalent is 55% cyan, 44% magenta, 0% yellow and 61% black.
The closest named color is Midnight Escapade (#2B3458), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.28:1).
#2D3864 color codes
| HEX | #2D3864 | |
|---|---|---|
| RGB | rgb(45, 56, 100) | |
| RGB percent | rgb(17.6%, 22%, 39.2%) | |
| HSL | hsl(228, 38%, 28%) | |
| HSV / HSB | hsv(228, 55%, 39%) | |
| CMYK | cmyk(55%, 44%, 0%, 61%) | |
| CIE LAB | lab(24.66, 9.51, -27.44) | |
| CIE LCH | lch(24.66, 29.05, 289.11) | |
| CIE XYZ | xyz(4.796, 4.306, 12.633) | |
| Decimal | 2963556 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D3864, 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 #2D3864 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.86:1 | Fail | Fail | Fail |
| Sample text | 11.28:1 | Pass | Pass | Pass |
| #2D3864 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.28:1 | Pass | Pass | Pass |
| Sample text | 1.86: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 #2D3864 looks to people with the most common types of color vision deficiency.
#263d66Protanopia
no red cones#203863Deuteranopia
no green cones#144149Tritanopia
no blue cones#3b3b3bAchromatopsia
no color vision
CSS examples
.background { background-color: #2d3864; }
.text { color: #2d3864; }
.border { border: 2px solid #2d3864; }
.transparent { background-color: rgb(45 56 100 / 50%); }
.gradient { background: linear-gradient(to right, #2d3864, #3d2d64); }
Similar colors
#2b3458Midnight Escapade#2e3858Mediaeval Blue#2e305eGalaxea#333c76Good Karma#2c4170Napoleonic Blue#1c2e63Mythical Night#324471Space Missions#3d3d63Storm Is Coming
Closest common color name: Prussian Blue.
Questions
- What color is #2D3864?
- #2D3864 is a dark, desaturated blue, closest to the named color Midnight Escapade. It belongs to the blue family of colors.
- What is the RGB value of #2D3864?
- The RGB value is 45, 56, 100: 45 red, 56 green and 100 blue on a 0 to 255 scale.
- What is the complementary color of #2D3864?
- The complementary color is #64592D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D3864?
- White text. Black text has a contrast ratio of 1.86:1 and white text 11.28:1. WCAG asks for at least 4.5:1 for normal text.