#20314A color
The hex color #20314A is a dark, desaturated azure.
In the RGB color model it is made of 12.5% red, 19.2% green and 29% blue (32, 49, 74).
Its hue angle is 216°, with 40% saturation and 21% lightness. For print, the CMYK equivalent is 57% cyan, 34% magenta, 0% yellow and 71% black.
The closest named color is Midnight Ocean (#0F2D4D), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.13:1).
#20314A color codes
| HEX | #20314A | |
|---|---|---|
| RGB | rgb(32, 49, 74) | |
| RGB percent | rgb(12.5%, 19.2%, 29%) | |
| HSL | hsl(216, 40%, 21%) | |
| HSV / HSB | hsv(216, 57%, 29%) | |
| CMYK | cmyk(57%, 34%, 0%, 71%) | |
| CIE LAB | lab(20.04, 1.44, -17.61) | |
| CIE LCH | lch(20.04, 17.67, 274.68) | |
| CIE XYZ | xyz(2.93, 2.998, 6.902) | |
| Decimal | 2109770 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #20314A, 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 #20314A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.6:1 | Fail | Fail | Fail |
| Sample text | 13.13:1 | Pass | Pass | Pass |
| #20314A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.13:1 | Pass | Pass | Pass |
| Sample text | 1.6: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 #20314A looks to people with the most common types of color vision deficiency.
#27334bProtanopia
no red cones#222f49Deuteranopia
no green cones#0c373aTritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #20314a; }
.text { color: #20314a; }
.border { border: 2px solid #20314a; }
.transparent { background-color: rgb(32 49 74 / 50%); }
.gradient { background: linear-gradient(to right, #20314a, #24204a); }
Similar colors
#0f2d4dMidnight Ocean#1c2841Eternal Darkness#273c5aNautilus#0a3251Beyond the Stars#2e3858Mediaeval Blue#003153Prussian Blue#314159Pi#0b334dSea of Stars
Questions
- What color is #20314A?
- #20314A is a dark, desaturated azure, closest to the named color Midnight Ocean. It belongs to the blue family of colors.
- What is the RGB value of #20314A?
- The RGB value is 32, 49, 74: 32 red, 49 green and 74 blue on a 0 to 255 scale.
- What is the complementary color of #20314A?
- The complementary color is #4A3920, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #20314A?
- White text. Black text has a contrast ratio of 1.6:1 and white text 13.13:1. WCAG asks for at least 4.5:1 for normal text.