#304C4A color
The hex color #304C4A is a dark, grayish cyan.
In the RGB color model it is made of 18.8% red, 29.8% green and 29% blue (48, 76, 74).
Its hue angle is 176°, with 23% saturation and 24% lightness. For print, the CMYK equivalent is 37% cyan, 0% magenta, 3% yellow and 70% black.
The closest named color is Dark Slate Gray (#2F4F4F), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.3:1).
#304C4A color codes
| HEX | #304C4A | |
|---|---|---|
| RGB | rgb(48, 76, 74) | |
| RGB percent | rgb(18.8%, 29.8%, 29%) | |
| HSL | hsl(176, 23%, 24%) | |
| HSV / HSB | hsv(176, 37%, 30%) | |
| CMYK | cmyk(37%, 0%, 3%, 70%) | |
| CIE LAB | lab(30.14, -11.03, -2.17) | |
| CIE LCH | lch(30.14, 11.24, 191.13) | |
| CIE XYZ | xyz(5.039, 6.291, 7.426) | |
| Decimal | 3165258 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #304C4A, 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 #304C4A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.26:1 | Fail | Fail | Fail |
| Sample text | 9.3:1 | Pass | Pass | Pass |
| #304C4A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.3:1 | Pass | Pass | Pass |
| Sample text | 2.26: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 #304C4A looks to people with the most common types of color vision deficiency.
#49494aProtanopia
no red cones#44454aDeuteranopia
no green cones#264d4bTritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #304c4a; }
.text { color: #304c4a; }
.border { border: 2px solid #304c4a; }
.transparent { background-color: rgb(48 76 74 / 50%); }
.gradient { background: linear-gradient(to right, #304c4a, #30404c); }
Similar colors
#2f4f4fDark Slate Gray#3c4f4eNight Watch#33534bHunter#224347Emerald Forest#27454aMysterious Waters#315955Enchanting Ivy#2d454aLittle Mermaid#334d41Pine Needle
Questions
- What color is #304C4A?
- #304C4A is a dark, grayish cyan, closest to the named color Dark Slate Gray. It belongs to the gray family of colors.
- What is the RGB value of #304C4A?
- The RGB value is 48, 76, 74: 48 red, 76 green and 74 blue on a 0 to 255 scale.
- What is the complementary color of #304C4A?
- The complementary color is #4C3032, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #304C4A?
- White text. Black text has a contrast ratio of 2.26:1 and white text 9.3:1. WCAG asks for at least 4.5:1 for normal text.