#283039 color
The hex color #283039 is a very dark, grayish azure.
In the RGB color model it is made of 15.7% red, 18.8% green and 22.4% blue (40, 48, 57).
Its hue angle is 212°, with 18% saturation and 19% lightness. For print, the CMYK equivalent is 30% cyan, 16% magenta, 0% yellow and 78% black.
The closest named color is Infinity (#222831), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.36:1).
#283039 color codes
| HEX | #283039 | |
|---|---|---|
| RGB | rgb(40, 48, 57) | |
| RGB percent | rgb(15.7%, 18.8%, 22.4%) | |
| HSL | hsl(212, 18%, 19%) | |
| HSV / HSB | hsv(212, 30%, 22%) | |
| CMYK | cmyk(30%, 16%, 0%, 78%) | |
| CIE LAB | lab(19.48, -0.91, -6.85) | |
| CIE LCH | lch(19.48, 6.91, 262.42) | |
| CIE XYZ | xyz(2.67, 2.86, 4.282) | |
| Decimal | 2633785 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #283039, 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 #283039 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.57:1 | Fail | Fail | Fail |
| Sample text | 13.36:1 | Pass | Pass | Pass |
| #283039 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.36:1 | Pass | Pass | Pass |
| Sample text | 1.57: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 #283039 looks to people with the most common types of color vision deficiency.
#2d3039Protanopia
no red cones#2b2e39Deuteranopia
no green cones#233233Tritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #283039; }
.text { color: #283039; }
.border { border: 2px solid #283039; }
.transparent { background-color: rgb(40 48 57 / 50%); }
.gradient { background: linear-gradient(to right, #283039, #292839); }
Similar colors
#222831Infinity#293135Nightmare Fuel#292b31Night Sky#2a3439Gunmetal#242a2eCinder#363b43Do Not Disturb#303a40Tempest in a Teapot#2b2c30Caviar
Questions
- What color is #283039?
- #283039 is a very dark, grayish azure, closest to the named color Infinity. It belongs to the black family of colors.
- What is the RGB value of #283039?
- The RGB value is 40, 48, 57: 40 red, 48 green and 57 blue on a 0 to 255 scale.
- What is the complementary color of #283039?
- The complementary color is #393128, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #283039?
- White text. Black text has a contrast ratio of 1.57:1 and white text 13.36:1. WCAG asks for at least 4.5:1 for normal text.