#31454D color
The hex color #31454D is a dark, grayish azure.
In the RGB color model it is made of 19.2% red, 27.1% green and 30.2% blue (49, 69, 77).
Its hue angle is 197°, with 22% saturation and 25% lightness. For print, the CMYK equivalent is 36% cyan, 10% magenta, 0% yellow and 70% black.
The closest named color is Charcoal (#36454F), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.05:1).
#31454D color codes
| HEX | #31454D | |
|---|---|---|
| RGB | rgb(49, 69, 77) | |
| RGB percent | rgb(19.2%, 27.1%, 30.2%) | |
| HSL | hsl(197, 22%, 25%) | |
| HSV / HSB | hsv(197, 36%, 30%) | |
| CMYK | cmyk(36%, 10%, 0%, 70%) | |
| CIE LAB | lab(27.97, -5.55, -7.33) | |
| CIE LCH | lch(27.97, 9.2, 232.9) | |
| CIE XYZ | xyz(4.734, 5.445, 7.821) | |
| Decimal | 3229005 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31454D, 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 #31454D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.09:1 | Fail | Fail | Fail |
| Sample text | 10.05:1 | Pass | Pass | Pass |
| #31454D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.05:1 | Pass | Pass | Pass |
| Sample text | 2.09: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 #31454D looks to people with the most common types of color vision deficiency.
#41444dProtanopia
no red cones#3c414dDeuteranopia
no green cones#274847Tritanopia
no blue cones#424242Achromatopsia
no color vision
CSS examples
.background { background-color: #31454d; }
.text { color: #31454d; }
.border { border: 2px solid #31454d; }
.transparent { background-color: rgb(49 69 77 / 50%); }
.gradient { background: linear-gradient(to right, #31454d, #31374d); }
Similar colors
#36454fCharcoal#2d454aLittle Mermaid#344d58Nocturne#254855Mallard#3d474bLights Out#253f4eDepths of the Nile#27454aMysterious Waters#203943Astral Nomad
Questions
- What color is #31454D?
- #31454D is a dark, grayish azure, closest to the named color Charcoal. It belongs to the gray family of colors.
- What is the RGB value of #31454D?
- The RGB value is 49, 69, 77: 49 red, 69 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #31454D?
- The complementary color is #4D3931, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31454D?
- White text. Black text has a contrast ratio of 2.09:1 and white text 10.05:1. WCAG asks for at least 4.5:1 for normal text.