#313779 color
The hex color #313779 is a dark, desaturated blue.
In the RGB color model it is made of 19.2% red, 21.6% green and 47.5% blue (49, 55, 121).
Its hue angle is 235°, with 42% saturation and 33% lightness. For print, the CMYK equivalent is 60% cyan, 55% magenta, 0% yellow and 53% black.
The closest named color is Good Karma (#333C76), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.75:1).
#313779 color codes
| HEX | #313779 | |
|---|---|---|
| RGB | rgb(49, 55, 121) | |
| RGB percent | rgb(19.2%, 21.6%, 47.5%) | |
| HSL | hsl(235, 42%, 33%) | |
| HSV / HSB | hsv(235, 60%, 47%) | |
| CMYK | cmyk(60%, 55%, 0%, 53%) | |
| CIE LAB | lab(26.06, 18.72, -38.63) | |
| CIE LCH | lch(26.06, 42.93, 295.86) | |
| CIE XYZ | xyz(6.083, 4.765, 18.685) | |
| Decimal | 3225465 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313779, 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 #313779 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.95:1 | Fail | Fail | Fail |
| Sample text | 10.75:1 | Pass | Pass | Pass |
| #313779 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.75:1 | Pass | Pass | Pass |
| Sample text | 1.95: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 #313779 looks to people with the most common types of color vision deficiency.
#11417bProtanopia
no red cones#023b78Deuteranopia
no green cones#054652Tritanopia
no blue cones#3e3e3eAchromatopsia
no color vision
CSS examples
.background { background-color: #313779; }
.text { color: #313779; }
.border { border: 2px solid #313779; }
.transparent { background-color: rgb(49 55 121 / 50%); }
.gradient { background: linear-gradient(to right, #313779, #4f3179); }
Similar colors
#333c76Good Karma#363e7dEvening Magic#223382Deep Space Royal#1c3378Twilight Express#273287Intergalactic Highway#3d4585Queen of the Night Shift#0a2f7cBelow the Surface#13336fAtlantic Navy
Closest common color name: Dark Slate Blue.
Questions
- What color is #313779?
- #313779 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 #313779?
- The RGB value is 49, 55, 121: 49 red, 55 green and 121 blue on a 0 to 255 scale.
- What is the complementary color of #313779?
- The complementary color is #797331, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313779?
- White text. Black text has a contrast ratio of 1.95:1 and white text 10.75:1. WCAG asks for at least 4.5:1 for normal text.