#313274 color
The hex color #313274 is a dark, desaturated blue.
In the RGB color model it is made of 19.2% red, 19.6% green and 45.5% blue (49, 50, 116).
Its hue angle is 239°, with 41% saturation and 32% lightness. For print, the CMYK equivalent is 58% cyan, 57% magenta, 0% yellow and 55% black.
The closest named color is Good Karma (#333C76), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.42:1).
#313274 color codes
| HEX | #313274 | |
|---|---|---|
| RGB | rgb(49, 50, 116) | |
| RGB percent | rgb(19.2%, 19.6%, 45.5%) | |
| HSL | hsl(239, 41%, 32%) | |
| HSV / HSB | hsv(239, 58%, 45%) | |
| CMYK | cmyk(58%, 57%, 0%, 55%) | |
| CIE LAB | lab(24.31, 20.35, -38.28) | |
| CIE LCH | lch(24.31, 43.35, 298) | |
| CIE XYZ | xyz(5.559, 4.195, 17.036) | |
| Decimal | 3224180 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313274, 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 #313274 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.84:1 | Fail | Fail | Fail |
| Sample text | 11.42:1 | Pass | Pass | Pass |
| #313274 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.42:1 | Pass | Pass | Pass |
| Sample text | 1.84: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 #313274 looks to people with the most common types of color vision deficiency.
#083d76Protanopia
no red cones#003773Deuteranopia
no green cones#0f414eTritanopia
no blue cones#3a3a3aAchromatopsia
no color vision
CSS examples
.background { background-color: #313274; }
.text { color: #313274; }
.border { border: 2px solid #313274; }
.transparent { background-color: rgb(49 50 116 / 50%); }
.gradient { background: linear-gradient(to right, #313274, #513174); }
Similar colors
#333c76Good Karma#223382Deep Space Royal#363e7dEvening Magic#1c3378Twilight Express#273287Intergalactic Highway#1c2e63Mythical Night#2e305eGalaxea#48357bGalactic Compass
Closest common color name: Dark Slate Blue.
Questions
- What color is #313274?
- #313274 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 #313274?
- The RGB value is 49, 50, 116: 49 red, 50 green and 116 blue on a 0 to 255 scale.
- What is the complementary color of #313274?
- The complementary color is #747331, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313274?
- White text. Black text has a contrast ratio of 1.84:1 and white text 11.42:1. WCAG asks for at least 4.5:1 for normal text.