#305152 color
The hex color #305152 is a dark, desaturated cyan.
In the RGB color model it is made of 18.8% red, 31.8% green and 32.2% blue (48, 81, 82).
Its hue angle is 182°, with 26% saturation and 25% lightness. For print, the CMYK equivalent is 41% cyan, 1% magenta, 0% yellow and 68% black.
The closest named color is Dark Slate Gray (#2F4F4F), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.66:1).
#305152 color codes
| HEX | #305152 | |
|---|---|---|
| RGB | rgb(48, 81, 82) | |
| RGB percent | rgb(18.8%, 31.8%, 32.2%) | |
| HSL | hsl(182, 26%, 25%) | |
| HSV / HSB | hsv(182, 41%, 32%) | |
| CMYK | cmyk(41%, 1%, 0%, 68%) | |
| CIE LAB | lab(32.08, -11.73, -4.4) | |
| CIE LCH | lch(32.08, 12.53, 200.56) | |
| CIE XYZ | xyz(5.684, 7.122, 9.056) | |
| Decimal | 3166546 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #305152, 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 #305152 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.42:1 | Fail | Fail | Fail |
| Sample text | 8.66:1 | Pass | Pass | Pass |
| #305152 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.66:1 | Pass | Pass | Pass |
| Sample text | 2.42: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 #305152 looks to people with the most common types of color vision deficiency.
#4d4e52Protanopia
no red cones#474a52Deuteranopia
no green cones#225351Tritanopia
no blue cones#4b4b4bAchromatopsia
no color vision
CSS examples
.background { background-color: #305152; }
.text { color: #305152; }
.border { border: 2px solid #305152; }
.transparent { background-color: rgb(48 81 82 / 50%); }
.gradient { background: linear-gradient(to right, #305152, #304052); }
Similar colors
#2f4f4fDark Slate Gray#3c4f4eNight Watch#315955Enchanting Ivy#345c61Arctic Nights#23505aSunken Mystery#27454aMysterious Waters#33534bHunter#405e5cRosemary
Questions
- What color is #305152?
- #305152 is a dark, desaturated cyan, closest to the named color Dark Slate Gray. It belongs to the gray family of colors.
- What is the RGB value of #305152?
- The RGB value is 48, 81, 82: 48 red, 81 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #305152?
- The complementary color is #523130, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #305152?
- White text. Black text has a contrast ratio of 2.42:1 and white text 8.66:1. WCAG asks for at least 4.5:1 for normal text.