#314151 color
The hex color #314151 is a dark, grayish azure.
In the RGB color model it is made of 19.2% red, 25.5% green and 31.8% blue (49, 65, 81).
Its hue angle is 210°, with 25% saturation and 25% lightness. For print, the CMYK equivalent is 40% cyan, 20% magenta, 0% yellow and 68% black.
The closest named color is Dark & Stormy (#353F51), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.47:1).
#314151 color codes
| HEX | #314151 | |
|---|---|---|
| RGB | rgb(49, 65, 81) | |
| RGB percent | rgb(19.2%, 25.5%, 31.8%) | |
| HSL | hsl(210, 25%, 25%) | |
| HSV / HSB | hsv(210, 40%, 32%) | |
| CMYK | cmyk(40%, 20%, 0%, 68%) | |
| CIE LAB | lab(26.81, -1.78, -11.69) | |
| CIE LCH | lch(26.81, 11.83, 261.36) | |
| CIE XYZ | xyz(4.642, 5.027, 8.509) | |
| Decimal | 3227985 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #314151, 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 #314151 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.01:1 | Fail | Fail | Fail |
| Sample text | 10.47:1 | Pass | Pass | Pass |
| #314151 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.47:1 | Pass | Pass | Pass |
| Sample text | 2.01: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 #314151 looks to people with the most common types of color vision deficiency.
#3b4152Protanopia
no red cones#373e51Deuteranopia
no green cones#264546Tritanopia
no blue cones#3f3f3fAchromatopsia
no color vision
CSS examples
.background { background-color: #314151; }
.text { color: #314151; }
.border { border: 2px solid #314151; }
.transparent { background-color: rgb(49 65 81 / 50%); }
.gradient { background: linear-gradient(to right, #314151, #313151); }
Similar colors
#353f51Dark & Stormy#3e4855Starless Night#36454fCharcoal#29465bOne Year of Rain#253f4eDepths of the Nile#393f4bInkblot#314159Pi#3f4551Dark Crypt
Questions
- What color is #314151?
- #314151 is a dark, grayish azure, closest to the named color Dark & Stormy. It belongs to the gray family of colors.
- What is the RGB value of #314151?
- The RGB value is 49, 65, 81: 49 red, 65 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #314151?
- The complementary color is #514131, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #314151?
- White text. Black text has a contrast ratio of 2.01:1 and white text 10.47:1. WCAG asks for at least 4.5:1 for normal text.