#302F39 color
The hex color #302F39 is a dark, grayish blue.
In the RGB color model it is made of 18.8% red, 18.4% green and 22.4% blue (48, 47, 57).
Its hue angle is 246°, with 10% saturation and 20% lightness. For print, the CMYK equivalent is 16% cyan, 18% magenta, 0% yellow and 78% black.
The closest named color is Witches Cauldron (#35343F), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.2:1).
#302F39 color codes
| HEX | #302F39 | |
|---|---|---|
| RGB | rgb(48, 47, 57) | |
| RGB percent | rgb(18.8%, 18.4%, 22.4%) | |
| HSL | hsl(246, 10%, 20%) | |
| HSV / HSB | hsv(246, 18%, 22%) | |
| CMYK | cmyk(16%, 18%, 0%, 78%) | |
| CIE LAB | lab(19.87, 2.94, -6.18) | |
| CIE LCH | lch(19.87, 6.84, 295.45) | |
| CIE XYZ | xyz(2.974, 2.957, 4.284) | |
| Decimal | 3157817 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #302F39, 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 #302F39 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.59:1 | Fail | Fail | Fail |
| Sample text | 13.2:1 | Pass | Pass | Pass |
| #302F39 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.2:1 | Pass | Pass | Pass |
| Sample text | 1.59: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 #302F39 looks to people with the most common types of color vision deficiency.
#2d3039Protanopia
no red cones#2d3039Deuteranopia
no green cones#2e3132Tritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #302f39; }
.text { color: #302f39; }
.border { border: 2px solid #302f39; }
.transparent { background-color: rgb(48 47 57 / 50%); }
.gradient { background: linear-gradient(to right, #302f39, #352f39); }
Similar colors
#35343fWitches Cauldron#2c2a35Haiti#393540Professor Plum#29292fJaguar#333344Shuriken#292b31Night Sky#303543Total Eclipse#28282dAnthracite
Closest common color name: Jet Black.
Questions
- What color is #302F39?
- #302F39 is a dark, grayish blue, closest to the named color Witches Cauldron. It belongs to the black family of colors.
- What is the RGB value of #302F39?
- The RGB value is 48, 47, 57: 48 red, 47 green and 57 blue on a 0 to 255 scale.
- What is the complementary color of #302F39?
- The complementary color is #38392F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #302F39?
- White text. Black text has a contrast ratio of 1.59:1 and white text 13.2:1. WCAG asks for at least 4.5:1 for normal text.