#20273A color
The hex color #20273A is a very dark, desaturated blue.
In the RGB color model it is made of 12.5% red, 15.3% green and 22.7% blue (32, 39, 58).
Its hue angle is 224°, with 29% saturation and 18% lightness. For print, the CMYK equivalent is 45% cyan, 33% magenta, 0% yellow and 77% black.
The closest named color is Midnight Express (#21263A), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.86:1).
#20273A color codes
| HEX | #20273A | |
|---|---|---|
| RGB | rgb(32, 39, 58) | |
| RGB percent | rgb(12.5%, 15.3%, 22.7%) | |
| HSL | hsl(224, 29%, 18%) | |
| HSV / HSB | hsv(224, 45%, 23%) | |
| CMYK | cmyk(45%, 33%, 0%, 77%) | |
| CIE LAB | lab(15.82, 2.82, -13.2) | |
| CIE LCH | lch(15.82, 13.5, 282.05) | |
| CIE XYZ | xyz(2.085, 2.064, 4.291) | |
| Decimal | 2107194 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #20273A, 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 #20273A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.41:1 | Fail | Fail | Fail |
| Sample text | 14.86:1 | Pass | Pass | Pass |
| #20273A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.86:1 | Pass | Pass | Pass |
| Sample text | 1.41: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 #20273A looks to people with the most common types of color vision deficiency.
#21293bProtanopia
no red cones#1e263aDeuteranopia
no green cones#182b2eTritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #20273a; }
.text { color: #20273a; }
.border { border: 2px solid #20273a; }
.transparent { background-color: rgb(32 39 58 / 50%); }
.gradient { background: linear-gradient(to right, #20273a, #26203a); }
Similar colors
#21263aMidnight Express#1e2433Moonless Mystery#1c2841Eternal Darkness#1f2133Eclipse Elixir#161e34Sombre Night#222233Black Velvet#1b2431Dark#0e1d32Trapped Darkness
Closest common color name: Oxford Blue.
Questions
- What color is #20273A?
- #20273A is a very dark, desaturated blue, closest to the named color Midnight Express. It belongs to the blue family of colors.
- What is the RGB value of #20273A?
- The RGB value is 32, 39, 58: 32 red, 39 green and 58 blue on a 0 to 255 scale.
- What is the complementary color of #20273A?
- The complementary color is #3A3320, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #20273A?
- White text. Black text has a contrast ratio of 1.41:1 and white text 14.86:1. WCAG asks for at least 4.5:1 for normal text.