#202030 color
The hex color #202030 is a very dark, grayish blue.
In the RGB color model it is made of 12.5% red, 12.5% green and 18.8% blue (32, 32, 48).
Its hue angle is 240°, with 20% saturation and 16% lightness. For print, the CMYK equivalent is 33% cyan, 33% magenta, 0% yellow and 81% black.
The closest named color is Black Velvet (#222233), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.02:1).
#202030 color codes
| HEX | #202030 | |
|---|---|---|
| RGB | rgb(32, 32, 48) | |
| RGB percent | rgb(12.5%, 12.5%, 18.8%) | |
| HSL | hsl(240, 20%, 16%) | |
| HSV / HSB | hsv(240, 33%, 19%) | |
| CMYK | cmyk(33%, 33%, 0%, 81%) | |
| CIE LAB | lab(12.94, 4.59, -10.56) | |
| CIE LCH | lch(12.94, 11.52, 293.49) | |
| CIE XYZ | xyz(1.646, 1.553, 3.009) | |
| Decimal | 2105392 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #202030, 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 #202030 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.31:1 | Fail | Fail | Fail |
| Sample text | 16.02:1 | Pass | Pass | Pass |
| #202030 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.02:1 | Pass | Pass | Pass |
| Sample text | 1.31: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 #202030 looks to people with the most common types of color vision deficiency.
#1c2231Protanopia
no red cones#1b2130Deuteranopia
no green cones#1c2326Tritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #202030; }
.text { color: #202030; }
.border { border: 2px solid #202030; }
.transparent { background-color: rgb(32 32 48 / 50%); }
.gradient { background: linear-gradient(to right, #202030, #282030); }
Similar colors
#222233Black Velvet#1f2133Eclipse Elixir#21263aMidnight Express#1e2433Moonless Mystery#161e34Sombre Night#2c2a35Haiti#151931Dark Knight#111122Corbeau
Closest common color name: Midnight Black.
Questions
- What color is #202030?
- #202030 is a very dark, grayish blue, closest to the named color Black Velvet. It belongs to the black family of colors.
- What is the RGB value of #202030?
- The RGB value is 32, 32, 48: 32 red, 32 green and 48 blue on a 0 to 255 scale.
- What is the complementary color of #202030?
- The complementary color is #303020, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #202030?
- White text. Black text has a contrast ratio of 1.31:1 and white text 16.02:1. WCAG asks for at least 4.5:1 for normal text.