#313B79 color
The hex color #313B79 is a dark, desaturated blue.
In the RGB color model it is made of 19.2% red, 23.1% green and 47.5% blue (49, 59, 121).
Its hue angle is 232°, with 42% saturation and 33% lightness. For print, the CMYK equivalent is 60% cyan, 51% magenta, 0% yellow and 53% black.
The closest named color is Good Karma (#333C76), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.33:1).
#313B79 color codes
| HEX | #313B79 | |
|---|---|---|
| RGB | rgb(49, 59, 121) | |
| RGB percent | rgb(19.2%, 23.1%, 47.5%) | |
| HSL | hsl(232, 42%, 33%) | |
| HSV / HSB | hsv(232, 60%, 47%) | |
| CMYK | cmyk(60%, 51%, 0%, 53%) | |
| CIE LAB | lab(27.19, 15.99, -36.81) | |
| CIE LCH | lch(27.19, 40.13, 293.48) | |
| CIE XYZ | xyz(6.281, 5.161, 18.751) | |
| Decimal | 3226489 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313B79, 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 #313B79 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.03:1 | Fail | Fail | Fail |
| Sample text | 10.33:1 | Pass | Pass | Pass |
| #313B79 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.33:1 | Pass | Pass | Pass |
| Sample text | 2.03: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 #313B79 looks to people with the most common types of color vision deficiency.
#1c437bProtanopia
no red cones#103d78Deuteranopia
no green cones#034954Tritanopia
no blue cones#404040Achromatopsia
no color vision
CSS examples
.background { background-color: #313b79; }
.text { color: #313b79; }
.border { border: 2px solid #313b79; }
.transparent { background-color: rgb(49 59 121 / 50%); }
.gradient { background: linear-gradient(to right, #313b79, #4b3179); }
Similar colors
#333c76Good Karma#363e7dEvening Magic#3d4585Queen of the Night Shift#1c3378Twilight Express#223382Deep Space Royal#2c4170Napoleonic Blue#324471Space Missions#13336fAtlantic Navy
Closest common color name: Dark Slate Blue.
Questions
- What color is #313B79?
- #313B79 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 #313B79?
- The RGB value is 49, 59, 121: 49 red, 59 green and 121 blue on a 0 to 255 scale.
- What is the complementary color of #313B79?
- The complementary color is #796F31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313B79?
- White text. Black text has a contrast ratio of 2.03:1 and white text 10.33:1. WCAG asks for at least 4.5:1 for normal text.