#313249 color
The hex color #313249 is a dark, grayish blue.
In the RGB color model it is made of 19.2% red, 19.6% green and 28.6% blue (49, 50, 73).
Its hue angle is 238°, with 20% saturation and 24% lightness. For print, the CMYK equivalent is 33% cyan, 32% magenta, 0% yellow and 71% black.
The closest named color is Midnight Masquerade (#2C2E47), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.48:1).
#313249 color codes
| HEX | #313249 | |
|---|---|---|
| RGB | rgb(49, 50, 73) | |
| RGB percent | rgb(19.2%, 19.6%, 28.6%) | |
| HSL | hsl(238, 20%, 24%) | |
| HSV / HSB | hsv(238, 33%, 29%) | |
| CMYK | cmyk(33%, 32%, 0%, 71%) | |
| CIE LAB | lab(21.64, 5.84, -14.35) | |
| CIE LCH | lch(21.64, 15.49, 292.16) | |
| CIE XYZ | xyz(3.61, 3.415, 6.771) | |
| Decimal | 3224137 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313249, 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 #313249 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.68:1 | Fail | Fail | Fail |
| Sample text | 12.48:1 | Pass | Pass | Pass |
| #313249 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.48:1 | Pass | Pass | Pass |
| Sample text | 1.68: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 #313249 looks to people with the most common types of color vision deficiency.
#2b354aProtanopia
no red cones#2a3348Deuteranopia
no green cones#2b363aTritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #313249; }
.text { color: #313249; }
.border { border: 2px solid #313249; }
.transparent { background-color: rgb(49 50 73 / 50%); }
.gradient { background: linear-gradient(to right, #313249, #3c3149); }
Similar colors
#2c2e47Midnight Masquerade#333344Shuriken#2e3858Mediaeval Blue#21263aMidnight Express#2b3458Midnight Escapade#3f354fMaharaja#303543Total Eclipse#35343fWitches Cauldron
Closest common color name: Oxford Blue.
Questions
- What color is #313249?
- #313249 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 #313249?
- The RGB value is 49, 50, 73: 49 red, 50 green and 73 blue on a 0 to 255 scale.
- What is the complementary color of #313249?
- The complementary color is #494831, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313249?
- White text. Black text has a contrast ratio of 1.68:1 and white text 12.48:1. WCAG asks for at least 4.5:1 for normal text.