#314058 color
The hex color #314058 is a dark, desaturated azure.
In the RGB color model it is made of 19.2% red, 25.1% green and 34.5% blue (49, 64, 88).
Its hue angle is 217°, with 28% saturation and 27% lightness. For print, the CMYK equivalent is 44% cyan, 27% magenta, 0% yellow and 65% black.
The closest named color is Pi (#314159), a difference of 0.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.47:1).
#314058 color codes
| HEX | #314058 | |
|---|---|---|
| RGB | rgb(49, 64, 88) | |
| RGB percent | rgb(19.2%, 25.1%, 34.5%) | |
| HSL | hsl(217, 28%, 27%) | |
| HSV / HSB | hsv(217, 44%, 35%) | |
| CMYK | cmyk(44%, 27%, 0%, 65%) | |
| CIE LAB | lab(26.8, 1.1, -16.27) | |
| CIE LCH | lch(26.8, 16.31, 273.86) | |
| CIE XYZ | xyz(4.861, 5.024, 9.944) | |
| Decimal | 3227736 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #314058, 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 #314058 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2:1 | Fail | Fail | Fail |
| Sample text | 10.47:1 | Pass | Pass | Pass |
| #314058 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.47:1 | Pass | Pass | Pass |
| Sample text | 2: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 #314058 looks to people with the most common types of color vision deficiency.
#374159Protanopia
no red cones#333e57Deuteranopia
no green cones#234548Tritanopia
no blue cones#3f3f3fAchromatopsia
no color vision
CSS examples
.background { background-color: #314058; }
.text { color: #314058; }
.border { border: 2px solid #314058; }
.transparent { background-color: rgb(49 64 88 / 50%); }
.gradient { background: linear-gradient(to right, #314058, #353158); }
Similar colors
#314159Pi#353f51Dark & Stormy#314662Stay the Night#273c5aNautilus#2c4364Black Turmeric#3a4a63Silent Sea#3a4866Bonne Nuit#3c4151Lava Stone
Closest common color name: Prussian Blue.
Questions
- What color is #314058?
- #314058 is a dark, desaturated azure, closest to the named color Pi. It belongs to the blue family of colors.
- What is the RGB value of #314058?
- The RGB value is 49, 64, 88: 49 red, 64 green and 88 blue on a 0 to 255 scale.
- What is the complementary color of #314058?
- The complementary color is #584931, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #314058?
- White text. Black text has a contrast ratio of 2:1 and white text 10.47:1. WCAG asks for at least 4.5:1 for normal text.