#31386A color
The hex color #31386A is a dark, desaturated blue.
In the RGB color model it is made of 19.2% red, 22% green and 41.6% blue (49, 56, 106).
Its hue angle is 233°, with 37% saturation and 30% lightness. For print, the CMYK equivalent is 54% cyan, 47% magenta, 0% yellow and 58% black.
The closest named color is Good Karma (#333C76), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.03:1).
#31386A color codes
| HEX | #31386A | |
|---|---|---|
| RGB | rgb(49, 56, 106) | |
| RGB percent | rgb(19.2%, 22%, 41.6%) | |
| HSL | hsl(233, 37%, 30%) | |
| HSV / HSB | hsv(233, 54%, 42%) | |
| CMYK | cmyk(54%, 47%, 0%, 58%) | |
| CIE LAB | lab(25.33, 12.67, -30.24) | |
| CIE LCH | lch(25.33, 32.78, 292.74) | |
| CIE XYZ | xyz(5.281, 4.522, 14.227) | |
| Decimal | 3225706 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31386A, 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 #31386A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.9:1 | Fail | Fail | Fail |
| Sample text | 11.03:1 | Pass | Pass | Pass |
| #31386A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.03:1 | Pass | Pass | Pass |
| Sample text | 1.9: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 #31386A looks to people with the most common types of color vision deficiency.
#233e6cProtanopia
no red cones#1d3a69Deuteranopia
no green cones#19434bTritanopia
no blue cones#3c3c3cAchromatopsia
no color vision
CSS examples
.background { background-color: #31386a; }
.text { color: #31386a; }
.border { border: 2px solid #31386a; }
.transparent { background-color: rgb(49 56 106 / 50%); }
.gradient { background: linear-gradient(to right, #31386a, #47316a); }
Similar colors
#333c76Good Karma#2e305eGalaxea#363e7dEvening Magic#2b3458Midnight Escapade#1c2e63Mythical Night#2c4170Napoleonic Blue#3d3d63Storm Is Coming#324471Space Missions
Closest common color name: Dark Slate Blue.
Questions
- What color is #31386A?
- #31386A is a dark, desaturated blue, closest to the named color Good Karma. It belongs to the blue family of colors.
- What is the RGB value of #31386A?
- The RGB value is 49, 56, 106: 49 red, 56 green and 106 blue on a 0 to 255 scale.
- What is the complementary color of #31386A?
- The complementary color is #6A6331, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31386A?
- White text. Black text has a contrast ratio of 1.9:1 and white text 11.03:1. WCAG asks for at least 4.5:1 for normal text.