#27313A color
The hex color #27313A is a very dark, grayish azure.
In the RGB color model it is made of 15.3% red, 19.2% green and 22.7% blue (39, 49, 58).
Its hue angle is 208°, with 20% saturation and 19% lightness. For print, the CMYK equivalent is 33% cyan, 16% magenta, 0% yellow and 77% black.
The closest named color is Gunmetal (#2A3439), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.24:1).
#27313A color codes
| HEX | #27313A | |
|---|---|---|
| RGB | rgb(39, 49, 58) | |
| RGB percent | rgb(15.3%, 19.2%, 22.7%) | |
| HSL | hsl(208, 20%, 19%) | |
| HSV / HSB | hsv(208, 33%, 23%) | |
| CMYK | cmyk(33%, 16%, 0%, 77%) | |
| CIE LAB | lab(19.77, -1.67, -7.09) | |
| CIE LCH | lch(19.77, 7.28, 256.75) | |
| CIE XYZ | xyz(2.699, 2.933, 4.426) | |
| Decimal | 2568506 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #27313A, 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 #27313A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.59:1 | Fail | Fail | Fail |
| Sample text | 13.24:1 | Pass | Pass | Pass |
| #27313A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.24:1 | Pass | Pass | Pass |
| Sample text | 1.59: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 #27313A looks to people with the most common types of color vision deficiency.
#2d313aProtanopia
no red cones#2b2f3aDeuteranopia
no green cones#213334Tritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #27313a; }
.text { color: #27313a; }
.border { border: 2px solid #27313a; }
.transparent { background-color: rgb(39 49 58 / 50%); }
.gradient { background: linear-gradient(to right, #27313a, #27283a); }
Similar colors
#2a3439Gunmetal#293135Nightmare Fuel#243640Petrol Slumber#222831Infinity#303a40Tempest in a Teapot#242a2eCinder#1e3442Blue Whale#1e272cBlack Pearl
Questions
- What color is #27313A?
- #27313A is a very dark, grayish azure, closest to the named color Gunmetal. It belongs to the black family of colors.
- What is the RGB value of #27313A?
- The RGB value is 39, 49, 58: 39 red, 49 green and 58 blue on a 0 to 255 scale.
- What is the complementary color of #27313A?
- The complementary color is #3A3027, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #27313A?
- White text. Black text has a contrast ratio of 1.59:1 and white text 13.24:1. WCAG asks for at least 4.5:1 for normal text.