#304B41 color
The hex color #304B41 is a dark, grayish spring green.
In the RGB color model it is made of 18.8% red, 29.4% green and 25.5% blue (48, 75, 65).
Its hue angle is 158°, with 22% saturation and 24% lightness. For print, the CMYK equivalent is 36% cyan, 0% magenta, 13% yellow and 71% black.
The closest named color is Pine Needle (#334D41), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.51:1).
#304B41 color codes
| HEX | #304B41 | |
|---|---|---|
| RGB | rgb(48, 75, 65) | |
| RGB percent | rgb(18.8%, 29.4%, 25.5%) | |
| HSL | hsl(158, 22%, 24%) | |
| HSV / HSB | hsv(158, 36%, 29%) | |
| CMYK | cmyk(36%, 0%, 13%, 71%) | |
| CIE LAB | lab(29.52, -12.82, 2.72) | |
| CIE LCH | lch(29.52, 13.11, 168.04) | |
| CIE XYZ | xyz(4.689, 6.042, 5.919) | |
| Decimal | 3164993 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #304B41, 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 #304B41 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.21:1 | Fail | Fail | Fail |
| Sample text | 9.51:1 | Pass | Pass | Pass |
| #304B41 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.51:1 | Pass | Pass | Pass |
| Sample text | 2.21: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 #304B41 looks to people with the most common types of color vision deficiency.
#4a4841Protanopia
no red cones#454442Deuteranopia
no green cones#294b48Tritanopia
no blue cones#464646Achromatopsia
no color vision
CSS examples
.background { background-color: #304b41; }
.text { color: #304b41; }
.border { border: 2px solid #304b41; }
.transparent { background-color: rgb(48 75 65 / 50%); }
.gradient { background: linear-gradient(to right, #304b41, #30474b); }
Similar colors
#334d41Pine Needle#33534bHunter#264334Everglade#394c3bMountain View#3e594cPlantation#2f4f4fDark Slate Gray#3a5b52Iridescent#3a533dHighlander
Questions
- What color is #304B41?
- #304B41 is a dark, grayish spring green, closest to the named color Pine Needle. It belongs to the green family of colors.
- What is the RGB value of #304B41?
- The RGB value is 48, 75, 65: 48 red, 75 green and 65 blue on a 0 to 255 scale.
- What is the complementary color of #304B41?
- The complementary color is #4B303A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #304B41?
- White text. Black text has a contrast ratio of 2.21:1 and white text 9.51:1. WCAG asks for at least 4.5:1 for normal text.