#304247 color
The hex color #304247 is a dark, grayish cyan.
In the RGB color model it is made of 18.8% red, 25.9% green and 27.8% blue (48, 66, 71).
Its hue angle is 193°, with 19% saturation and 23% lightness. For print, the CMYK equivalent is 32% cyan, 7% magenta, 0% yellow and 72% black.
The closest named color is Little Mermaid (#2D454A), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.52:1).
#304247 color codes
| HEX | #304247 | |
|---|---|---|
| RGB | rgb(48, 66, 71) | |
| RGB percent | rgb(18.8%, 25.9%, 27.8%) | |
| HSL | hsl(193, 19%, 23%) | |
| HSV / HSB | hsv(193, 32%, 28%) | |
| CMYK | cmyk(32%, 7%, 0%, 72%) | |
| CIE LAB | lab(26.68, -5.73, -5.36) | |
| CIE LCH | lch(26.68, 7.85, 223.06) | |
| CIE XYZ | xyz(4.304, 4.98, 6.694) | |
| Decimal | 3162695 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #304247, 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 #304247 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2:1 | Fail | Fail | Fail |
| Sample text | 10.52:1 | Pass | Pass | Pass |
| #304247 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.52:1 | Pass | Pass | Pass |
| Sample text | 2: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 #304247 looks to people with the most common types of color vision deficiency.
#3f4147Protanopia
no red cones#3b3e47Deuteranopia
no green cones#284443Tritanopia
no blue cones#3f3f3fAchromatopsia
no color vision
CSS examples
.background { background-color: #304247; }
.text { color: #304247; }
.border { border: 2px solid #304247; }
.transparent { background-color: rgb(48 66 71 / 50%); }
.gradient { background: linear-gradient(to right, #304247, #303747); }
Similar colors
#2d454aLittle Mermaid#3d474bLights Out#27454aMysterious Waters#36454fCharcoal#203943Astral Nomad#303a40Tempest in a Teapot#1c3b42Royal Neptune#344d58Nocturne
Questions
- What color is #304247?
- #304247 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 #304247?
- The RGB value is 48, 66, 71: 48 red, 66 green and 71 blue on a 0 to 255 scale.
- What is the complementary color of #304247?
- The complementary color is #473530, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #304247?
- White text. Black text has a contrast ratio of 2:1 and white text 10.52:1. WCAG asks for at least 4.5:1 for normal text.