#2A3341 color
The hex color #2A3341 is a dark, grayish azure.
In the RGB color model it is made of 16.5% red, 20% green and 25.5% blue (42, 51, 65).
Its hue angle is 217°, with 21% saturation and 21% lightness. For print, the CMYK equivalent is 35% cyan, 22% magenta, 0% yellow and 75% black.
The closest named color is Total Eclipse (#303543), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.74:1).
#2A3341 color codes
| HEX | #2A3341 | |
|---|---|---|
| RGB | rgb(42, 51, 65) | |
| RGB percent | rgb(16.5%, 20%, 25.5%) | |
| HSL | hsl(217, 21%, 21%) | |
| HSV / HSB | hsv(217, 35%, 25%) | |
| CMYK | cmyk(35%, 22%, 0%, 75%) | |
| CIE LAB | lab(20.99, 0.2, -10) | |
| CIE LCH | lch(20.99, 10, 271.15) | |
| CIE XYZ | xyz(3.093, 3.241, 5.463) | |
| Decimal | 2765633 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2A3341, 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 #2A3341 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.65:1 | Fail | Fail | Fail |
| Sample text | 12.74:1 | Pass | Pass | Pass |
| #2A3341 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.74:1 | Pass | Pass | Pass |
| Sample text | 1.65: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 #2A3341 looks to people with the most common types of color vision deficiency.
#2e3442Protanopia
no red cones#2c3141Deuteranopia
no green cones#233638Tritanopia
no blue cones#323232Achromatopsia
no color vision
CSS examples
.background { background-color: #2a3341; }
.text { color: #2a3341; }
.border { border: 2px solid #2a3341; }
.transparent { background-color: rgb(42 51 65 / 50%); }
.gradient { background: linear-gradient(to right, #2a3341, #2c2a41); }
Similar colors
#303543Total Eclipse#363b43Do Not Disturb#222831Infinity#393f4bInkblot#353f51Dark & Stormy#1b2431Dark#1e2433Moonless Mystery#292b31Night Sky
Closest common color name: Gunmetal.
Questions
- What color is #2A3341?
- #2A3341 is a dark, grayish azure, closest to the named color Total Eclipse. It belongs to the gray family of colors.
- What is the RGB value of #2A3341?
- The RGB value is 42, 51, 65: 42 red, 51 green and 65 blue on a 0 to 255 scale.
- What is the complementary color of #2A3341?
- The complementary color is #41382A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2A3341?
- White text. Black text has a contrast ratio of 1.65:1 and white text 12.74:1. WCAG asks for at least 4.5:1 for normal text.