#304845 color
The hex color #304845 is a dark, grayish spring green.
In the RGB color model it is made of 18.8% red, 28.2% green and 27.1% blue (48, 72, 69).
Its hue angle is 173°, with 20% saturation and 24% lightness. For print, the CMYK equivalent is 33% cyan, 0% magenta, 4% yellow and 72% black.
The closest named color is Dark Slate Gray (#2F4F4F), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.82:1).
#304845 color codes
| HEX | #304845 | |
|---|---|---|
| RGB | rgb(48, 72, 69) | |
| RGB percent | rgb(18.8%, 28.2%, 27.1%) | |
| HSL | hsl(173, 20%, 24%) | |
| HSV / HSB | hsv(173, 33%, 28%) | |
| CMYK | cmyk(33%, 0%, 4%, 72%) | |
| CIE LAB | lab(28.62, -10, -1.17) | |
| CIE LCH | lch(28.62, 10.06, 186.67) | |
| CIE XYZ | xyz(4.61, 5.693, 6.485) | |
| Decimal | 3164229 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #304845, 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 #304845 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.14:1 | Fail | Fail | Fail |
| Sample text | 9.82:1 | Pass | Pass | Pass |
| #304845 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.82:1 | Pass | Pass | Pass |
| Sample text | 2.14: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 #304845 looks to people with the most common types of color vision deficiency.
#464545Protanopia
no red cones#414245Deuteranopia
no green cones#284947Tritanopia
no blue cones#434343Achromatopsia
no color vision
CSS examples
.background { background-color: #304845; }
.text { color: #304845; }
.border { border: 2px solid #304845; }
.transparent { background-color: rgb(48 72 69 / 50%); }
.gradient { background: linear-gradient(to right, #304845, #303f48); }
Similar colors
#2f4f4fDark Slate Gray#3c4f4eNight Watch#224347Emerald Forest#27454aMysterious Waters#2d454aLittle Mermaid#33534bHunter#334d41Pine Needle#3c463eDeep Forest
Questions
- What color is #304845?
- #304845 is a dark, grayish spring green, closest to the named color Dark Slate Gray. It belongs to the gray family of colors.
- What is the RGB value of #304845?
- The RGB value is 48, 72, 69: 48 red, 72 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #304845?
- The complementary color is #483033, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #304845?
- White text. Black text has a contrast ratio of 2.14:1 and white text 9.82:1. WCAG asks for at least 4.5:1 for normal text.