#313678 color
The hex color #313678 is a dark, desaturated blue.
In the RGB color model it is made of 19.2% red, 21.2% green and 47.1% blue (49, 54, 120).
Its hue angle is 236°, with 42% saturation and 33% lightness. For print, the CMYK equivalent is 59% cyan, 55% magenta, 0% yellow and 53% 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 10.88:1).
#313678 color codes
| HEX | #313678 | |
|---|---|---|
| RGB | rgb(49, 54, 120) | |
| RGB percent | rgb(19.2%, 21.2%, 47.1%) | |
| HSL | hsl(236, 42%, 33%) | |
| HSV / HSB | hsv(236, 59%, 47%) | |
| CMYK | cmyk(59%, 55%, 0%, 53%) | |
| CIE LAB | lab(25.7, 19.05, -38.56) | |
| CIE LCH | lch(25.7, 43.01, 296.29) | |
| CIE XYZ | xyz(5.975, 4.647, 18.348) | |
| Decimal | 3225208 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313678, 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 #313678 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.93:1 | Fail | Fail | Fail |
| Sample text | 10.88:1 | Pass | Pass | Pass |
| #313678 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.88:1 | Pass | Pass | Pass |
| Sample text | 1.93: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 #313678 looks to people with the most common types of color vision deficiency.
#10407aProtanopia
no red cones#013a77Deuteranopia
no green cones#074551Tritanopia
no blue cones#3d3d3dAchromatopsia
no color vision
CSS examples
.background { background-color: #313678; }
.text { color: #313678; }
.border { border: 2px solid #313678; }
.transparent { background-color: rgb(49 54 120 / 50%); }
.gradient { background: linear-gradient(to right, #313678, #4f3178); }
Similar colors
#333c76Good Karma#363e7dEvening Magic#223382Deep Space Royal#1c3378Twilight Express#273287Intergalactic Highway#1c2e63Mythical Night#3d4585Queen of the Night Shift#0a2f7cBelow the Surface
Closest common color name: Dark Slate Blue.
Questions
- What color is #313678?
- #313678 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 #313678?
- The RGB value is 49, 54, 120: 49 red, 54 green and 120 blue on a 0 to 255 scale.
- What is the complementary color of #313678?
- The complementary color is #787331, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313678?
- White text. Black text has a contrast ratio of 1.93:1 and white text 10.88:1. WCAG asks for at least 4.5:1 for normal text.