#2A3281 color
The hex color #2A3281 is a dark, moderate blue.
In the RGB color model it is made of 16.5% red, 19.6% green and 50.6% blue (42, 50, 129).
Its hue angle is 234°, with 51% saturation and 34% lightness. For print, the CMYK equivalent is 67% cyan, 61% magenta, 0% yellow and 49% black.
The closest named color is Intergalactic Highway (#273287), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.22:1).
#2A3281 color codes
| HEX | #2A3281 | |
|---|---|---|
| RGB | rgb(42, 50, 129) | |
| RGB percent | rgb(16.5%, 19.6%, 50.6%) | |
| HSL | hsl(234, 51%, 34%) | |
| HSV / HSB | hsv(234, 67%, 51%) | |
| CMYK | cmyk(67%, 61%, 0%, 49%) | |
| CIE LAB | lab(24.82, 23.76, -45.7) | |
| CIE LCH | lch(24.82, 51.5, 297.47) | |
| CIE XYZ | xyz(6.057, 4.358, 21.287) | |
| Decimal | 2765441 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2A3281, 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 #2A3281 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.87:1 | Fail | Fail | Fail |
| Sample text | 11.22:1 | Pass | Pass | Pass |
| #2A3281 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.22:1 | Pass | Pass | Pass |
| Sample text | 1.87: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 #2A3281 looks to people with the most common types of color vision deficiency.
#003f84Protanopia
no red cones#00377fDeuteranopia
no green cones#004554Tritanopia
no blue cones#3b3b3bAchromatopsia
no color vision
CSS examples
.background { background-color: #2a3281; }
.text { color: #2a3281; }
.border { border: 2px solid #2a3281; }
.transparent { background-color: rgb(42 50 129 / 50%); }
.gradient { background: linear-gradient(to right, #2a3281, #4e2a81); }
Similar colors
#273287Intergalactic Highway#223382Deep Space Royal#313390Perfect Dark#2b3191Royal Night#1c3378Twilight Express#2d3796Liquid Denim#0a2f7cBelow the Surface#003388One Minute to Midnight
Closest common color name: Dark Slate Blue.
Questions
- What color is #2A3281?
- #2A3281 is a dark, moderate blue, closest to the named color Intergalactic Highway. It belongs to the blue family of colors.
- What is the RGB value of #2A3281?
- The RGB value is 42, 50, 129: 42 red, 50 green and 129 blue on a 0 to 255 scale.
- What is the complementary color of #2A3281?
- The complementary color is #81792A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2A3281?
- White text. Black text has a contrast ratio of 1.87:1 and white text 11.22:1. WCAG asks for at least 4.5:1 for normal text.