#313B36 color
The hex color #313B36 is a dark, grayish green.
In the RGB color model it is made of 19.2% red, 23.1% green and 21.2% blue (49, 59, 54).
Its hue angle is 150°, with 9% saturation and 21% lightness. For print, the CMYK equivalent is 17% cyan, 0% magenta, 8% yellow and 77% black.
The closest named color is Aztec (#293432), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.61:1).
#313B36 color codes
| HEX | #313B36 | |
|---|---|---|
| RGB | rgb(49, 59, 54) | |
| RGB percent | rgb(19.2%, 23.1%, 21.2%) | |
| HSL | hsl(150, 9%, 21%) | |
| HSV / HSB | hsv(150, 17%, 23%) | |
| CMYK | cmyk(17%, 0%, 8%, 77%) | |
| CIE LAB | lab(23.83, -5.38, 1.71) | |
| CIE LCH | lch(23.83, 5.64, 162.4) | |
| CIE XYZ | xyz(3.496, 4.047, 4.086) | |
| Decimal | 3226422 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313B36, 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 #313B36 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.81:1 | Fail | Fail | Fail |
| Sample text | 11.61:1 | Pass | Pass | Pass |
| #313B36 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.61:1 | Pass | Pass | Pass |
| Sample text | 1.81: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 #313B36 looks to people with the most common types of color vision deficiency.
#3b3936Protanopia
no red cones#393836Deuteranopia
no green cones#2f3b39Tritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #313b36; }
.text { color: #313b36; }
.border { border: 2px solid #313b36; }
.transparent { background-color: rgb(49 59 54 / 50%); }
.gradient { background: linear-gradient(to right, #313b36, #313b3b); }
Similar colors
#293432Aztec#2b322dTerminal Black#353935Onyx#3c463eDeep Forest#2f3434Phantom Ship#3b3c36Black Olive#313330Oil#353838Wet Concrete
Questions
- What color is #313B36?
- #313B36 is a dark, grayish green, closest to the named color Aztec. It belongs to the gray family of colors.
- What is the RGB value of #313B36?
- The RGB value is 49, 59, 54: 49 red, 59 green and 54 blue on a 0 to 255 scale.
- What is the complementary color of #313B36?
- The complementary color is #3B3136, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313B36?
- White text. Black text has a contrast ratio of 1.81:1 and white text 11.61:1. WCAG asks for at least 4.5:1 for normal text.