#2A4563 color
The hex color #2A4563 is a dark, desaturated azure.
In the RGB color model it is made of 16.5% red, 27.1% green and 38.8% blue (42, 69, 99).
Its hue angle is 212°, with 40% saturation and 28% lightness. For print, the CMYK equivalent is 58% cyan, 30% magenta, 0% yellow and 61% black.
The closest named color is Stay the Night (#314662), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.86:1).
#2A4563 color codes
| HEX | #2A4563 | |
|---|---|---|
| RGB | rgb(42, 69, 99) | |
| RGB percent | rgb(16.5%, 27.1%, 38.8%) | |
| HSL | hsl(212, 40%, 28%) | |
| HSV / HSB | hsv(212, 58%, 39%) | |
| CMYK | cmyk(58%, 30%, 0%, 61%) | |
| CIE LAB | lab(28.51, -0.42, -20.75) | |
| CIE LCH | lch(28.51, 20.76, 268.85) | |
| CIE XYZ | xyz(5.334, 5.649, 12.611) | |
| Decimal | 2770275 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2A4563, 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 #2A4563 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.13:1 | Fail | Fail | Fail |
| Sample text | 9.86:1 | Pass | Pass | Pass |
| #2A4563 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.86:1 | Pass | Pass | Pass |
| Sample text | 2.13: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 #2A4563 looks to people with the most common types of color vision deficiency.
#394664Protanopia
no red cones#314162Deuteranopia
no green cones#074c4fTritanopia
no blue cones#434343Achromatopsia
no color vision
CSS examples
.background { background-color: #2a4563; }
.text { color: #2a4563; }
.border { border: 2px solid #2a4563; }
.transparent { background-color: rgb(42 69 99 / 50%); }
.gradient { background: linear-gradient(to right, #2a4563, #2c2a63); }
Similar colors
#314662Stay the Night#2c4364Black Turmeric#254770Pretty Twilight Night#314159Pi#27426bNightlife#324c64Bluedgeons#273c5aNautilus#32496fMidnight Interlude
Closest common color name: Prussian Blue.
Questions
- What color is #2A4563?
- #2A4563 is a dark, desaturated azure, closest to the named color Stay the Night. It belongs to the blue family of colors.
- What is the RGB value of #2A4563?
- The RGB value is 42, 69, 99: 42 red, 69 green and 99 blue on a 0 to 255 scale.
- What is the complementary color of #2A4563?
- The complementary color is #63482A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2A4563?
- White text. Black text has a contrast ratio of 2.13:1 and white text 9.86:1. WCAG asks for at least 4.5:1 for normal text.