#314F7D color
The hex color #314F7D is a dark, desaturated azure.
In the RGB color model it is made of 19.2% red, 31% green and 49% blue (49, 79, 125).
Its hue angle is 216°, with 44% saturation and 34% lightness. For print, the CMYK equivalent is 61% cyan, 37% magenta, 0% yellow and 51% black.
The closest named color is Assassin (#2D4F83), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.25:1).
#314F7D color codes
| HEX | #314F7D | |
|---|---|---|
| RGB | rgb(49, 79, 125) | |
| RGB percent | rgb(19.2%, 31%, 49%) | |
| HSL | hsl(216, 44%, 34%) | |
| HSV / HSB | hsv(216, 61%, 49%) | |
| CMYK | cmyk(61%, 37%, 0%, 51%) | |
| CIE LAB | lab(33.4, 3.99, -29.41) | |
| CIE LCH | lch(33.4, 29.68, 277.73) | |
| CIE XYZ | xyz(7.763, 7.725, 20.48) | |
| Decimal | 3231613 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #314F7D, 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 #314F7D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.55:1 | Fail | Fail | Fail |
| Sample text | 8.25:1 | Pass | Pass | Pass |
| #314F7D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.25:1 | Pass | Pass | Pass |
| Sample text | 2.55: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 #314F7D looks to people with the most common types of color vision deficiency.
#3c527fProtanopia
no red cones#324b7cDeuteranopia
no green cones#005960Tritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #314f7d; }
.text { color: #314f7d; }
.border { border: 2px solid #314f7d; }
.transparent { background-color: rgb(49 79 125 / 50%); }
.gradient { background: linear-gradient(to right, #314f7d, #39317d); }
Similar colors
#2d4f83Assassin#39527dSt. Tropaz#2d517cSlumber#2d5284Galaxy Blue#2e4a7dNautical#314a76Dragonfly#234e86Night Mode#335588Glimpse of Void
Closest common color name: Cobalt Blue.
Questions
- What color is #314F7D?
- #314F7D is a dark, desaturated azure, closest to the named color Assassin. It belongs to the blue family of colors.
- What is the RGB value of #314F7D?
- The RGB value is 49, 79, 125: 49 red, 79 green and 125 blue on a 0 to 255 scale.
- What is the complementary color of #314F7D?
- The complementary color is #7D5F31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #314F7D?
- White text. Black text has a contrast ratio of 2.55:1 and white text 8.25:1. WCAG asks for at least 4.5:1 for normal text.