#3A4764 color
The hex color #3A4764 is a dark, desaturated blue.
In the RGB color model it is made of 22.7% red, 27.8% green and 39.2% blue (58, 71, 100).
Its hue angle is 221°, with 27% saturation and 31% lightness. For print, the CMYK equivalent is 42% cyan, 29% magenta, 0% yellow and 61% black.
The closest named color is Bonne Nuit (#3A4866), a difference of 0.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.27:1).
#3A4764 color codes
| HEX | #3A4764 | |
|---|---|---|
| RGB | rgb(58, 71, 100) | |
| RGB percent | rgb(22.7%, 27.8%, 39.2%) | |
| HSL | hsl(221, 27%, 31%) | |
| HSV / HSB | hsv(221, 42%, 39%) | |
| CMYK | cmyk(42%, 29%, 0%, 61%) | |
| CIE LAB | lab(30.22, 3.1, -18.65) | |
| CIE LCH | lch(30.22, 18.91, 279.44) | |
| CIE XYZ | xyz(6.298, 6.326, 12.943) | |
| Decimal | 3819364 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A4764, 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 #3A4764 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.27:1 | Fail | Fail | Fail |
| Sample text | 9.27:1 | Pass | Pass | Pass |
| #3A4764 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.27:1 | Pass | Pass | Pass |
| Sample text | 2.27: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 #3A4764 looks to people with the most common types of color vision deficiency.
#3d4965Protanopia
no red cones#394563Deuteranopia
no green cones#2c4d51Tritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #3a4764; }
.text { color: #3a4764; }
.border { border: 2px solid #3a4764; }
.transparent { background-color: rgb(58 71 100 / 50%); }
.gradient { background: linear-gradient(to right, #3a4764, #423a64); }
Similar colors
#3a4866Bonne Nuit#384b6bNaval Blue#3b476bStarlit Night#3a4a63Silent Sea#34466cForlorn Cruise#314662Stay the Night#2c4364Black Turmeric#314159Pi
Closest common color name: Charcoal.
Questions
- What color is #3A4764?
- #3A4764 is a dark, desaturated blue, closest to the named color Bonne Nuit. It belongs to the blue family of colors.
- What is the RGB value of #3A4764?
- The RGB value is 58, 71, 100: 58 red, 71 green and 100 blue on a 0 to 255 scale.
- What is the complementary color of #3A4764?
- The complementary color is #64573A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A4764?
- White text. Black text has a contrast ratio of 2.27:1 and white text 9.27:1. WCAG asks for at least 4.5:1 for normal text.