#2A4145 color
The hex color #2A4145 is a dark, grayish cyan.
In the RGB color model it is made of 16.5% red, 25.5% green and 27.1% blue (42, 65, 69).
Its hue angle is 189°, with 24% saturation and 22% lightness. For print, the CMYK equivalent is 39% cyan, 6% magenta, 0% yellow and 73% black.
The closest named color is Little Mermaid (#2D454A), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.82:1).
#2A4145 color codes
| HEX | #2A4145 | |
|---|---|---|
| RGB | rgb(42, 65, 69) | |
| RGB percent | rgb(16.5%, 25.5%, 27.1%) | |
| HSL | hsl(189, 24%, 22%) | |
| HSV / HSB | hsv(189, 39%, 27%) | |
| CMYK | cmyk(39%, 6%, 0%, 73%) | |
| CIE LAB | lab(25.87, -7.74, -5.29) | |
| CIE LCH | lch(25.87, 9.37, 214.37) | |
| CIE XYZ | xyz(3.919, 4.702, 6.33) | |
| Decimal | 2769221 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2A4145, 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 #2A4145 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.94:1 | Fail | Fail | Fail |
| Sample text | 10.82:1 | Pass | Pass | Pass |
| #2A4145 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.82:1 | Pass | Pass | Pass |
| Sample text | 1.94: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 #2A4145 looks to people with the most common types of color vision deficiency.
#3d3f45Protanopia
no red cones#393c45Deuteranopia
no green cones#204342Tritanopia
no blue cones#3d3d3dAchromatopsia
no color vision
CSS examples
.background { background-color: #2a4145; }
.text { color: #2a4145; }
.border { border: 2px solid #2a4145; }
.transparent { background-color: rgb(42 65 69 / 50%); }
.gradient { background: linear-gradient(to right, #2a4145, #2a3445); }
Similar colors
#2d454aLittle Mermaid#27454aMysterious Waters#224347Emerald Forest#1c3d44Sunken Harbour#1c3b42Royal Neptune#203943Astral Nomad#254855Mallard#154250Cold and Dark
Closest common color name: Dark Slate Gray.
Questions
- What color is #2A4145?
- #2A4145 is a dark, grayish cyan, closest to the named color Little Mermaid. It belongs to the gray family of colors.
- What is the RGB value of #2A4145?
- The RGB value is 42, 65, 69: 42 red, 65 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #2A4145?
- The complementary color is #452E2A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2A4145?
- White text. Black text has a contrast ratio of 1.94:1 and white text 10.82:1. WCAG asks for at least 4.5:1 for normal text.