#313143 color
The hex color #313143 is a dark, grayish blue.
In the RGB color model it is made of 19.2% red, 19.2% green and 26.3% blue (49, 49, 67).
Its hue angle is 240°, with 16% saturation and 23% lightness. For print, the CMYK equivalent is 27% cyan, 27% magenta, 0% yellow and 74% black.
The closest named color is Shuriken (#333344), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.72:1).
#313143 color codes
| HEX | #313143 | |
|---|---|---|
| RGB | rgb(49, 49, 67) | |
| RGB percent | rgb(19.2%, 19.2%, 26.3%) | |
| HSL | hsl(240, 16%, 23%) | |
| HSV / HSB | hsv(240, 27%, 26%) | |
| CMYK | cmyk(27%, 27%, 0%, 74%) | |
| CIE LAB | lab(21.04, 4.75, -11.22) | |
| CIE LCH | lch(21.04, 12.18, 292.93) | |
| CIE XYZ | xyz(3.378, 3.255, 5.759) | |
| Decimal | 3223875 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313143, 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 #313143 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.65:1 | Fail | Fail | Fail |
| Sample text | 12.72:1 | Pass | Pass | Pass |
| #313143 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.72:1 | Pass | Pass | Pass |
| Sample text | 1.65: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 #313143 looks to people with the most common types of color vision deficiency.
#2c3344Protanopia
no red cones#2c3243Deuteranopia
no green cones#2d3437Tritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #313143; }
.text { color: #313143; }
.border { border: 2px solid #313143; }
.transparent { background-color: rgb(49 49 67 / 50%); }
.gradient { background: linear-gradient(to right, #313143, #3a3143); }
Similar colors
#333344Shuriken#2c2e47Midnight Masquerade#35343fWitches Cauldron#393540Professor Plum#303543Total Eclipse#2c2a35Haiti#21263aMidnight Express#222233Black Velvet
Closest common color name: Jet Black.
Questions
- What color is #313143?
- #313143 is a dark, grayish blue, closest to the named color Shuriken. It belongs to the gray family of colors.
- What is the RGB value of #313143?
- The RGB value is 49, 49, 67: 49 red, 49 green and 67 blue on a 0 to 255 scale.
- What is the complementary color of #313143?
- The complementary color is #434331, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313143?
- White text. Black text has a contrast ratio of 1.65:1 and white text 12.72:1. WCAG asks for at least 4.5:1 for normal text.