#3A4560 color
The hex color #3A4560 is a dark, grayish blue.
In the RGB color model it is made of 22.7% red, 27.1% green and 37.6% blue (58, 69, 96).
Its hue angle is 223°, with 25% saturation and 30% lightness. For print, the CMYK equivalent is 40% cyan, 28% magenta, 0% yellow and 62% black.
The closest named color is Bonne Nuit (#3A4866), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.55:1).
#3A4560 color codes
| HEX | #3A4560 | |
|---|---|---|
| RGB | rgb(58, 69, 96) | |
| RGB percent | rgb(22.7%, 27.1%, 37.6%) | |
| HSL | hsl(223, 25%, 30%) | |
| HSV / HSB | hsv(223, 40%, 38%) | |
| CMYK | cmyk(40%, 28%, 0%, 62%) | |
| CIE LAB | lab(29.41, 3.16, -17.34) | |
| CIE LCH | lch(29.41, 17.63, 280.33) | |
| CIE XYZ | xyz(5.984, 6, 11.907) | |
| Decimal | 3818848 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A4560, 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 #3A4560 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.2:1 | Fail | Fail | Fail |
| Sample text | 9.55:1 | Pass | Pass | Pass |
| #3A4560 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.55:1 | Pass | Pass | Pass |
| Sample text | 2.2: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 #3A4560 looks to people with the most common types of color vision deficiency.
#3c4761Protanopia
no red cones#38445fDeuteranopia
no green cones#2e4a4eTritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #3a4560; }
.text { color: #3a4560; }
.border { border: 2px solid #3a4560; }
.transparent { background-color: rgb(58 69 96 / 50%); }
.gradient { background: linear-gradient(to right, #3a4560, #423a60); }
Similar colors
#3a4866Bonne Nuit#3a4a63Silent Sea#3b476bStarlit Night#314159Pi#384b6bNaval Blue#3e4364Genie#314662Stay the Night#34466cForlorn Cruise
Closest common color name: Charcoal.
Questions
- What color is #3A4560?
- #3A4560 is a dark, grayish blue, closest to the named color Bonne Nuit. It belongs to the blue family of colors.
- What is the RGB value of #3A4560?
- The RGB value is 58, 69, 96: 58 red, 69 green and 96 blue on a 0 to 255 scale.
- What is the complementary color of #3A4560?
- The complementary color is #60553A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A4560?
- White text. Black text has a contrast ratio of 2.2:1 and white text 9.55:1. WCAG asks for at least 4.5:1 for normal text.