#30404D color
The hex color #30404D is a dark, grayish azure.
In the RGB color model it is made of 18.8% red, 25.1% green and 30.2% blue (48, 64, 77).
Its hue angle is 207°, with 23% saturation and 25% lightness. For print, the CMYK equivalent is 38% cyan, 17% magenta, 0% yellow and 70% black.
The closest named color is Charcoal (#36454F), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.68:1).
#30404D color codes
| HEX | #30404D | |
|---|---|---|
| RGB | rgb(48, 64, 77) | |
| RGB percent | rgb(18.8%, 25.1%, 30.2%) | |
| HSL | hsl(207, 23%, 25%) | |
| HSV / HSB | hsv(207, 38%, 30%) | |
| CMYK | cmyk(38%, 17%, 0%, 70%) | |
| CIE LAB | lab(26.25, -2.68, -9.94) | |
| CIE LCH | lch(26.25, 10.3, 254.89) | |
| CIE XYZ | xyz(4.391, 4.831, 7.721) | |
| Decimal | 3162189 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #30404D, 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 #30404D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.97:1 | Fail | Fail | Fail |
| Sample text | 10.68:1 | Pass | Pass | Pass |
| #30404D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.68:1 | Pass | Pass | Pass |
| Sample text | 1.97: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 #30404D looks to people with the most common types of color vision deficiency.
#3b404eProtanopia
no red cones#373d4dDeuteranopia
no green cones#274344Tritanopia
no blue cones#3e3e3eAchromatopsia
no color vision
CSS examples
.background { background-color: #30404d; }
.text { color: #30404d; }
.border { border: 2px solid #30404d; }
.transparent { background-color: rgb(48 64 77 / 50%); }
.gradient { background: linear-gradient(to right, #30404d, #30324d); }
Similar colors
#36454fCharcoal#253f4eDepths of the Nile#3b444bArsenic#3e4855Starless Night#243640Petrol Slumber#303a40Tempest in a Teapot#29465bOne Year of Rain#393f4bInkblot
Questions
- What color is #30404D?
- #30404D is a dark, grayish azure, closest to the named color Charcoal. It belongs to the gray family of colors.
- What is the RGB value of #30404D?
- The RGB value is 48, 64, 77: 48 red, 64 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #30404D?
- The complementary color is #4D3D30, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #30404D?
- White text. Black text has a contrast ratio of 1.97:1 and white text 10.68:1. WCAG asks for at least 4.5:1 for normal text.