#20283B color
The hex color #20283B is a very dark, desaturated blue.
In the RGB color model it is made of 12.5% red, 15.7% green and 23.1% blue (32, 40, 59).
Its hue angle is 222°, with 30% saturation and 18% lightness. For print, the CMYK equivalent is 46% cyan, 32% magenta, 0% yellow and 77% black.
The closest named color is Midnight Express (#21263A), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.71:1).
#20283B color codes
| HEX | #20283B | |
|---|---|---|
| RGB | rgb(32, 40, 59) | |
| RGB percent | rgb(12.5%, 15.7%, 23.1%) | |
| HSL | hsl(222, 30%, 18%) | |
| HSV / HSB | hsv(222, 46%, 23%) | |
| CMYK | cmyk(46%, 32%, 0%, 77%) | |
| CIE LAB | lab(16.21, 2.44, -13.29) | |
| CIE LCH | lch(16.21, 13.52, 280.41) | |
| CIE XYZ | xyz(2.144, 2.14, 4.437) | |
| Decimal | 2107451 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #20283B, 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 #20283B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.43:1 | Fail | Fail | Fail |
| Sample text | 14.71:1 | Pass | Pass | Pass |
| #20283B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.71:1 | Pass | Pass | Pass |
| Sample text | 1.43: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 #20283B looks to people with the most common types of color vision deficiency.
#212a3cProtanopia
no red cones#1f273bDeuteranopia
no green cones#172c2fTritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #20283b; }
.text { color: #20283b; }
.border { border: 2px solid #20283b; }
.transparent { background-color: rgb(32 40 59 / 50%); }
.gradient { background: linear-gradient(to right, #20283b, #25203b); }
Similar colors
#21263aMidnight Express#1e2433Moonless Mystery#1c2841Eternal Darkness#1f2133Eclipse Elixir#161e34Sombre Night#1b2431Dark#222233Black Velvet#0e1d32Trapped Darkness
Closest common color name: Oxford Blue.
Questions
- What color is #20283B?
- #20283B 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 #20283B?
- The RGB value is 32, 40, 59: 32 red, 40 green and 59 blue on a 0 to 255 scale.
- What is the complementary color of #20283B?
- The complementary color is #3B3320, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #20283B?
- White text. Black text has a contrast ratio of 1.43:1 and white text 14.71:1. WCAG asks for at least 4.5:1 for normal text.