#304245 color
The hex color #304245 is a dark, grayish cyan.
In the RGB color model it is made of 18.8% red, 25.9% green and 27.1% blue (48, 66, 69).
Its hue angle is 189°, with 18% saturation and 23% lightness. For print, the CMYK equivalent is 30% cyan, 4% magenta, 0% yellow and 73% black.
The closest named color is Little Mermaid (#2D454A), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.55:1).
#304245 color codes
| HEX | #304245 | |
|---|---|---|
| RGB | rgb(48, 66, 69) | |
| RGB percent | rgb(18.8%, 25.9%, 27.1%) | |
| HSL | hsl(189, 18%, 23%) | |
| HSV / HSB | hsv(189, 30%, 27%) | |
| CMYK | cmyk(30%, 4%, 0%, 73%) | |
| CIE LAB | lab(26.6, -6.3, -4.15) | |
| CIE LCH | lch(26.6, 7.54, 213.41) | |
| CIE XYZ | xyz(4.241, 4.954, 6.362) | |
| Decimal | 3162693 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #304245, 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 #304245 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.99:1 | Fail | Fail | Fail |
| Sample text | 10.55:1 | Pass | Pass | Pass |
| #304245 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.55:1 | Pass | Pass | Pass |
| Sample text | 1.99: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 #304245 looks to people with the most common types of color vision deficiency.
#3f4145Protanopia
no red cones#3b3e45Deuteranopia
no green cones#294443Tritanopia
no blue cones#3f3f3fAchromatopsia
no color vision
CSS examples
.background { background-color: #304245; }
.text { color: #304245; }
.border { border: 2px solid #304245; }
.transparent { background-color: rgb(48 66 69 / 50%); }
.gradient { background: linear-gradient(to right, #304245, #303845); }
Similar colors
#2d454aLittle Mermaid#27454aMysterious Waters#3d474bLights Out#224347Emerald Forest#1c3b42Royal Neptune#1c3d44Sunken Harbour#3c4f4eNight Watch#414a4cDark Space
Closest common color name: Charcoal.
Questions
- What color is #304245?
- #304245 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 #304245?
- The RGB value is 48, 66, 69: 48 red, 66 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #304245?
- The complementary color is #453330, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #304245?
- White text. Black text has a contrast ratio of 1.99:1 and white text 10.55:1. WCAG asks for at least 4.5:1 for normal text.