#3A4F58 color
The hex color #3A4F58 is a dark, grayish azure.
In the RGB color model it is made of 22.7% red, 31% green and 34.5% blue (58, 79, 88).
Its hue angle is 198°, with 21% saturation and 29% lightness. For print, the CMYK equivalent is 34% cyan, 10% magenta, 0% yellow and 65% black.
The closest named color is Nocturne (#344D58), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.61:1).
#3A4F58 color codes
| HEX | #3A4F58 | |
|---|---|---|
| RGB | rgb(58, 79, 88) | |
| RGB percent | rgb(22.7%, 31%, 34.5%) | |
| HSL | hsl(198, 21%, 29%) | |
| HSV / HSB | hsv(198, 34%, 35%) | |
| CMYK | cmyk(34%, 10%, 0%, 65%) | |
| CIE LAB | lab(32.25, -5.6, -7.9) | |
| CIE LCH | lch(32.25, 9.69, 234.69) | |
| CIE XYZ | xyz(6.302, 7.196, 10.288) | |
| Decimal | 3821400 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A4F58, 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 #3A4F58 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.44:1 | Fail | Fail | Fail |
| Sample text | 8.61:1 | Pass | Pass | Pass |
| #3A4F58 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.61:1 | Pass | Pass | Pass |
| Sample text | 2.44: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 #3A4F58 looks to people with the most common types of color vision deficiency.
#4a4e58Protanopia
no red cones#464a58Deuteranopia
no green cones#305252Tritanopia
no blue cones#4c4c4cAchromatopsia
no color vision
CSS examples
.background { background-color: #3a4f58; }
.text { color: #3a4f58; }
.border { border: 2px solid #3a4f58; }
.transparent { background-color: rgb(58 79 88 / 50%); }
.gradient { background: linear-gradient(to right, #3a4f58, #3a4058); }
Similar colors
#344d58Nocturne#37525fMoonlit Sonata#3e5361Dark Secret#43535eNightfall#46565fGood Night!#3b5760Great Void#445055Obsidian#445155Descent Into the Catacombs
Closest common color name: Charcoal.
Questions
- What color is #3A4F58?
- #3A4F58 is a dark, grayish azure, closest to the named color Nocturne. It belongs to the gray family of colors.
- What is the RGB value of #3A4F58?
- The RGB value is 58, 79, 88: 58 red, 79 green and 88 blue on a 0 to 255 scale.
- What is the complementary color of #3A4F58?
- The complementary color is #58433A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A4F58?
- White text. Black text has a contrast ratio of 2.44:1 and white text 8.61:1. WCAG asks for at least 4.5:1 for normal text.