#313D45 color
The hex color #313D45 is a dark, grayish azure.
In the RGB color model it is made of 19.2% red, 23.9% green and 27.1% blue (49, 61, 69).
Its hue angle is 204°, with 17% saturation and 23% lightness. For print, the CMYK equivalent is 29% cyan, 12% magenta, 0% yellow and 73% black.
The closest named color is Tempest in a Teapot (#303A40), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.15:1).
#313D45 color codes
| HEX | #313D45 | |
|---|---|---|
| RGB | rgb(49, 61, 69) | |
| RGB percent | rgb(19.2%, 23.9%, 27.1%) | |
| HSL | hsl(204, 17%, 23%) | |
| HSV / HSB | hsv(204, 29%, 27%) | |
| CMYK | cmyk(29%, 12%, 0%, 73%) | |
| CIE LAB | lab(25.01, -2.73, -6.52) | |
| CIE LCH | lch(25.01, 7.07, 247.27) | |
| CIE XYZ | xyz(4.009, 4.42, 6.271) | |
| Decimal | 3226949 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313D45, 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 #313D45 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.88:1 | Fail | Fail | Fail |
| Sample text | 11.15:1 | Pass | Pass | Pass |
| #313D45 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.15:1 | Pass | Pass | Pass |
| Sample text | 1.88: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 #313D45 looks to people with the most common types of color vision deficiency.
#393d45Protanopia
no red cones#373a45Deuteranopia
no green cones#2b3f40Tritanopia
no blue cones#3b3b3bAchromatopsia
no color vision
CSS examples
.background { background-color: #313d45; }
.text { color: #313d45; }
.border { border: 2px solid #313d45; }
.transparent { background-color: rgb(49 61 69 / 50%); }
.gradient { background: linear-gradient(to right, #313d45, #313345); }
Similar colors
#303a40Tempest in a Teapot#3b444bArsenic#36454fCharcoal#2a3439Gunmetal#243640Petrol Slumber#363b43Do Not Disturb#3d474bLights Out#293135Nightmare Fuel
Questions
- What color is #313D45?
- #313D45 is a dark, grayish azure, closest to the named color Tempest in a Teapot. It belongs to the gray family of colors.
- What is the RGB value of #313D45?
- The RGB value is 49, 61, 69: 49 red, 61 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #313D45?
- The complementary color is #453931, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313D45?
- White text. Black text has a contrast ratio of 1.88:1 and white text 11.15:1. WCAG asks for at least 4.5:1 for normal text.