#3A4C54 color
The hex color #3A4C54 is a dark, grayish azure.
In the RGB color model it is made of 22.7% red, 29.8% green and 32.9% blue (58, 76, 84).
Its hue angle is 198°, with 18% saturation and 28% lightness. For print, the CMYK equivalent is 31% cyan, 10% magenta, 0% yellow and 67% black.
The closest named color is Nocturne (#344D58), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.97:1).
#3A4C54 color codes
| HEX | #3A4C54 | |
|---|---|---|
| RGB | rgb(58, 76, 84) | |
| RGB percent | rgb(22.7%, 29.8%, 32.9%) | |
| HSL | hsl(198, 18%, 28%) | |
| HSV / HSB | hsv(198, 31%, 33%) | |
| CMYK | cmyk(31%, 10%, 0%, 67%) | |
| CIE LAB | lab(31.13, -4.86, -7.03) | |
| CIE LCH | lch(31.13, 8.55, 235.33) | |
| CIE XYZ | xyz(5.929, 6.708, 9.368) | |
| Decimal | 3820628 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A4C54, 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 #3A4C54 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.34:1 | Fail | Fail | Fail |
| Sample text | 8.97:1 | Pass | Pass | Pass |
| #3A4C54 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.97:1 | Pass | Pass | Pass |
| Sample text | 2.34: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 #3A4C54 looks to people with the most common types of color vision deficiency.
#484b54Protanopia
no red cones#444854Deuteranopia
no green cones#324e4eTritanopia
no blue cones#494949Achromatopsia
no color vision
CSS examples
.background { background-color: #3a4c54; }
.text { color: #3a4c54; }
.border { border: 2px solid #3a4c54; }
.transparent { background-color: rgb(58 76 84 / 50%); }
.gradient { background: linear-gradient(to right, #3a4c54, #3a3f54); }
Similar colors
#344d58Nocturne#445055Obsidian#36454fCharcoal#445155Descent Into the Catacombs#37525fMoonlit Sonata#43535eNightfall#3d474bLights Out#404c57Abyssal
Questions
- What color is #3A4C54?
- #3A4C54 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 #3A4C54?
- The RGB value is 58, 76, 84: 58 red, 76 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #3A4C54?
- The complementary color is #54423A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A4C54?
- White text. Black text has a contrast ratio of 2.34:1 and white text 8.97:1. WCAG asks for at least 4.5:1 for normal text.