#3A4F76 color
The hex color #3A4F76 is a dark, desaturated azure.
In the RGB color model it is made of 22.7% red, 31% green and 46.3% blue (58, 79, 118).
Its hue angle is 219°, with 34% saturation and 35% lightness. For print, the CMYK equivalent is 51% cyan, 33% magenta, 0% yellow and 54% black.
The closest named color is Noble Knight (#394D78), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.2:1).
#3A4F76 color codes
| HEX | #3A4F76 | |
|---|---|---|
| RGB | rgb(58, 79, 118) | |
| RGB percent | rgb(22.7%, 31%, 46.3%) | |
| HSL | hsl(219, 34%, 35%) | |
| HSV / HSB | hsv(219, 51%, 46%) | |
| CMYK | cmyk(51%, 33%, 0%, 54%) | |
| CIE LAB | lab(33.56, 3.75, -24.78) | |
| CIE LCH | lch(33.56, 25.06, 278.6) | |
| CIE XYZ | xyz(7.81, 7.799, 18.23) | |
| Decimal | 3821430 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A4F76, 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 #3A4F76 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.56:1 | Fail | Fail | Fail |
| Sample text | 8.2:1 | Pass | Pass | Pass |
| #3A4F76 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.2:1 | Pass | Pass | Pass |
| Sample text | 2.56: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 #3A4F76 looks to people with the most common types of color vision deficiency.
#405278Protanopia
no red cones#394c75Deuteranopia
no green cones#20575dTritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #3a4f76; }
.text { color: #3a4f76; }
.border { border: 2px solid #3a4f76; }
.transparent { background-color: rgb(58 79 118 / 50%); }
.gradient { background: linear-gradient(to right, #3a4f76, #433a76); }
Similar colors
#394d78Noble Knight#39527dSt. Tropaz#314a76Dragonfly#32496fMidnight Interlude#384b6bNaval Blue#2e4a7dNautical#445780Sailor#34466cForlorn Cruise
Closest common color name: Dark Slate Blue.
Questions
- What color is #3A4F76?
- #3A4F76 is a dark, desaturated azure, closest to the named color Noble Knight. It belongs to the blue family of colors.
- What is the RGB value of #3A4F76?
- The RGB value is 58, 79, 118: 58 red, 79 green and 118 blue on a 0 to 255 scale.
- What is the complementary color of #3A4F76?
- The complementary color is #76613A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A4F76?
- White text. Black text has a contrast ratio of 2.56:1 and white text 8.2:1. WCAG asks for at least 4.5:1 for normal text.