#304B47 color
The hex color #304B47 is a dark, grayish spring green.
In the RGB color model it is made of 18.8% red, 29.4% green and 27.8% blue (48, 75, 71).
Its hue angle is 171°, with 22% saturation and 24% lightness. For print, the CMYK equivalent is 36% cyan, 0% magenta, 5% yellow and 71% black.
The closest named color is Dark Slate Gray (#2F4F4F), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.45:1).
#304B47 color codes
| HEX | #304B47 | |
|---|---|---|
| RGB | rgb(48, 75, 71) | |
| RGB percent | rgb(18.8%, 29.4%, 27.8%) | |
| HSL | hsl(171, 22%, 24%) | |
| HSV / HSB | hsv(171, 36%, 29%) | |
| CMYK | cmyk(36%, 0%, 5%, 71%) | |
| CIE LAB | lab(29.7, -11.25, -0.88) | |
| CIE LCH | lch(29.7, 11.29, 184.46) | |
| CIE XYZ | xyz(4.872, 6.115, 6.884) | |
| Decimal | 3164999 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #304B47, 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 #304B47 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.22:1 | Fail | Fail | Fail |
| Sample text | 9.45:1 | Pass | Pass | Pass |
| #304B47 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.45:1 | Pass | Pass | Pass |
| Sample text | 2.22: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 #304B47 looks to people with the most common types of color vision deficiency.
#484847Protanopia
no red cones#444447Deuteranopia
no green cones#274c4aTritanopia
no blue cones#464646Achromatopsia
no color vision
CSS examples
.background { background-color: #304b47; }
.text { color: #304b47; }
.border { border: 2px solid #304b47; }
.transparent { background-color: rgb(48 75 71 / 50%); }
.gradient { background: linear-gradient(to right, #304b47, #30424b); }
Similar colors
#2f4f4fDark Slate Gray#33534bHunter#3c4f4eNight Watch#334d41Pine Needle#224347Emerald Forest#315955Enchanting Ivy#27454aMysterious Waters#2d454aLittle Mermaid
Questions
- What color is #304B47?
- #304B47 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 #304B47?
- The RGB value is 48, 75, 71: 48 red, 75 green and 71 blue on a 0 to 255 scale.
- What is the complementary color of #304B47?
- The complementary color is #4B3034, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #304B47?
- White text. Black text has a contrast ratio of 2.22:1 and white text 9.45:1. WCAG asks for at least 4.5:1 for normal text.