#3D5172 color
The hex color #3D5172 is a dark, desaturated azure.
In the RGB color model it is made of 23.9% red, 31.8% green and 44.7% blue (61, 81, 114).
Its hue angle is 217°, with 30% saturation and 34% lightness. For print, the CMYK equivalent is 46% cyan, 29% magenta, 0% yellow and 55% black.
The closest named color is Naval Blue (#384B6B), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.02:1).
#3D5172 color codes
| HEX | #3D5172 | |
|---|---|---|
| RGB | rgb(61, 81, 114) | |
| RGB percent | rgb(23.9%, 31.8%, 44.7%) | |
| HSL | hsl(217, 30%, 34%) | |
| HSV / HSB | hsv(217, 46%, 45%) | |
| CMYK | cmyk(46%, 29%, 0%, 55%) | |
| CIE LAB | lab(34.17, 1.97, -21.32) | |
| CIE LCH | lch(34.17, 21.41, 275.29) | |
| CIE XYZ | xyz(7.903, 8.091, 17.062) | |
| Decimal | 4018546 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3D5172, 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 #3D5172 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.62:1 | Fail | Fail | Fail |
| Sample text | 8.02:1 | Pass | Pass | Pass |
| #3D5172 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.02:1 | Pass | Pass | Pass |
| Sample text | 2.62: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 #3D5172 looks to people with the most common types of color vision deficiency.
#455373Protanopia
no red cones#3f4e71Deuteranopia
no green cones#29585dTritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #3d5172; }
.text { color: #3d5172; }
.border { border: 2px solid #3d5172; }
.transparent { background-color: rgb(61 81 114 / 50%); }
.gradient { background: linear-gradient(to right, #3d5172, #443d72); }
Similar colors
#384b6bNaval Blue#39527dSt. Tropaz#394d78Noble Knight#32496fMidnight Interlude#445780Sailor#314a76Dragonfly#3a4a63Silent Sea#3a4866Bonne Nuit
Closest common color name: Dark Slate Blue.
Questions
- What color is #3D5172?
- #3D5172 is a dark, desaturated azure, closest to the named color Naval Blue. It belongs to the blue family of colors.
- What is the RGB value of #3D5172?
- The RGB value is 61, 81, 114: 61 red, 81 green and 114 blue on a 0 to 255 scale.
- What is the complementary color of #3D5172?
- The complementary color is #725E3D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3D5172?
- White text. Black text has a contrast ratio of 2.62:1 and white text 8.02:1. WCAG asks for at least 4.5:1 for normal text.