#304D4B color
The hex color #304D4B is a dark, grayish cyan.
In the RGB color model it is made of 18.8% red, 30.2% green and 29.4% blue (48, 77, 75).
Its hue angle is 176°, with 23% saturation and 25% lightness. For print, the CMYK equivalent is 38% cyan, 0% magenta, 3% yellow and 70% black.
The closest named color is Dark Slate Gray (#2F4F4F), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.18:1).
#304D4B color codes
| HEX | #304D4B | |
|---|---|---|
| RGB | rgb(48, 77, 75) | |
| RGB percent | rgb(18.8%, 30.2%, 29.4%) | |
| HSL | hsl(176, 23%, 25%) | |
| HSV / HSB | hsv(176, 38%, 30%) | |
| CMYK | cmyk(38%, 0%, 3%, 70%) | |
| CIE LAB | lab(30.51, -11.35, -2.27) | |
| CIE LCH | lch(30.51, 11.57, 191.29) | |
| CIE XYZ | xyz(5.142, 6.444, 7.628) | |
| Decimal | 3165515 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #304D4B, 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 #304D4B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.29:1 | Fail | Fail | Fail |
| Sample text | 9.18:1 | Pass | Pass | Pass |
| #304D4B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.18:1 | Pass | Pass | Pass |
| Sample text | 2.29: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 #304D4B looks to people with the most common types of color vision deficiency.
#4a4a4bProtanopia
no red cones#45464bDeuteranopia
no green cones#254e4cTritanopia
no blue cones#484848Achromatopsia
no color vision
CSS examples
.background { background-color: #304d4b; }
.text { color: #304d4b; }
.border { border: 2px solid #304d4b; }
.transparent { background-color: rgb(48 77 75 / 50%); }
.gradient { background: linear-gradient(to right, #304d4b, #30414d); }
Similar colors
#2f4f4fDark Slate Gray#3c4f4eNight Watch#33534bHunter#224347Emerald Forest#315955Enchanting Ivy#27454aMysterious Waters#334d41Pine Needle#2d454aLittle Mermaid
Questions
- What color is #304D4B?
- #304D4B 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 #304D4B?
- The RGB value is 48, 77, 75: 48 red, 77 green and 75 blue on a 0 to 255 scale.
- What is the complementary color of #304D4B?
- The complementary color is #4D3032, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #304D4B?
- White text. Black text has a contrast ratio of 2.29:1 and white text 9.18:1. WCAG asks for at least 4.5:1 for normal text.