#35314B color
The hex color #35314B is a dark, grayish blue.
In the RGB color model it is made of 20.8% red, 19.2% green and 29.4% blue (53, 49, 75).
Its hue angle is 249°, with 21% saturation and 24% lightness. For print, the CMYK equivalent is 29% cyan, 35% magenta, 0% yellow and 71% black.
The closest named color is Midnight Masquerade (#2C2E47), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.41:1).
#35314B color codes
| HEX | #35314B | |
|---|---|---|
| RGB | rgb(53, 49, 75) | |
| RGB percent | rgb(20.8%, 19.2%, 29.4%) | |
| HSL | hsl(249, 21%, 24%) | |
| HSV / HSB | hsv(249, 35%, 29%) | |
| CMYK | cmyk(29%, 35%, 0%, 71%) | |
| CIE LAB | lab(21.8, 8.56, -15.4) | |
| CIE LCH | lch(21.8, 17.62, 299.07) | |
| CIE XYZ | xyz(3.836, 3.461, 7.121) | |
| Decimal | 3486027 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #35314B, 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 #35314B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.69:1 | Fail | Fail | Fail |
| Sample text | 12.41:1 | Pass | Pass | Pass |
| #35314B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.41:1 | Pass | Pass | Pass |
| Sample text | 1.69: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 #35314B looks to people with the most common types of color vision deficiency.
#2a354cProtanopia
no red cones#2a344aDeuteranopia
no green cones#30353aTritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #35314b; }
.text { color: #35314b; }
.border { border: 2px solid #35314b; }
.transparent { background-color: rgb(53 49 75 / 50%); }
.gradient { background: linear-gradient(to right, #35314b, #42314b); }
Similar colors
#2c2e47Midnight Masquerade#3f354fMaharaja#3c2f4eSanctum of Shadows#42364cCall It a Night#372d52Midnight Pie#333344Shuriken#403547Royal Decree#2a2243Midnight Velvet
Closest common color name: Dark Purple.
Questions
- What color is #35314B?
- #35314B is a dark, grayish blue, closest to the named color Midnight Masquerade. It belongs to the blue family of colors.
- What is the RGB value of #35314B?
- The RGB value is 53, 49, 75: 53 red, 49 green and 75 blue on a 0 to 255 scale.
- What is the complementary color of #35314B?
- The complementary color is #474B31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #35314B?
- White text. Black text has a contrast ratio of 1.69:1 and white text 12.41:1. WCAG asks for at least 4.5:1 for normal text.