#304548 color
The hex color #304548 is a dark, grayish cyan.
In the RGB color model it is made of 18.8% red, 27.1% green and 28.2% blue (48, 69, 72).
Its hue angle is 188°, with 20% saturation and 24% lightness. For print, the CMYK equivalent is 33% cyan, 4% magenta, 0% yellow and 72% black.
The closest named color is Little Mermaid (#2D454A), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.14:1).
#304548 color codes
| HEX | #304548 | |
|---|---|---|
| RGB | rgb(48, 69, 72) | |
| RGB percent | rgb(18.8%, 27.1%, 28.2%) | |
| HSL | hsl(188, 20%, 24%) | |
| HSV / HSB | hsv(188, 33%, 28%) | |
| CMYK | cmyk(33%, 4%, 0%, 72%) | |
| CIE LAB | lab(27.72, -7.33, -4.46) | |
| CIE LCH | lch(27.72, 8.58, 211.32) | |
| CIE XYZ | xyz(4.516, 5.352, 6.925) | |
| Decimal | 3163464 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #304548, 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 #304548 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.07:1 | Fail | Fail | Fail |
| Sample text | 10.14:1 | Pass | Pass | Pass |
| #304548 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.14:1 | Pass | Pass | Pass |
| Sample text | 2.07: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 #304548 looks to people with the most common types of color vision deficiency.
#424348Protanopia
no red cones#3d4048Deuteranopia
no green cones#284746Tritanopia
no blue cones#414141Achromatopsia
no color vision
CSS examples
.background { background-color: #304548; }
.text { color: #304548; }
.border { border: 2px solid #304548; }
.transparent { background-color: rgb(48 69 72 / 50%); }
.gradient { background: linear-gradient(to right, #304548, #303948); }
Similar colors
#2d454aLittle Mermaid#27454aMysterious Waters#224347Emerald Forest#3c4f4eNight Watch#1c3d44Sunken Harbour#1c3b42Royal Neptune#3d474bLights Out#344d58Nocturne
Closest common color name: Dark Slate Gray.
Questions
- What color is #304548?
- #304548 is a dark, grayish cyan, closest to the named color Little Mermaid. It belongs to the gray family of colors.
- What is the RGB value of #304548?
- The RGB value is 48, 69, 72: 48 red, 69 green and 72 blue on a 0 to 255 scale.
- What is the complementary color of #304548?
- The complementary color is #483330, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #304548?
- White text. Black text has a contrast ratio of 2.07:1 and white text 10.14:1. WCAG asks for at least 4.5:1 for normal text.