#303442 color
The hex color #303442 is a dark, grayish blue.
In the RGB color model it is made of 18.8% red, 20.4% green and 25.9% blue (48, 52, 66).
Its hue angle is 227°, with 16% saturation and 22% lightness. For print, the CMYK equivalent is 27% cyan, 21% magenta, 0% yellow and 74% black.
The closest named color is Total Eclipse (#303543), a difference of 0.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.39:1).
#303442 color codes
| HEX | #303442 | |
|---|---|---|
| RGB | rgb(48, 52, 66) | |
| RGB percent | rgb(18.8%, 20.4%, 25.9%) | |
| HSL | hsl(227, 16%, 22%) | |
| HSV / HSB | hsv(227, 27%, 26%) | |
| CMYK | cmyk(27%, 21%, 0%, 74%) | |
| CIE LAB | lab(21.86, 2.03, -9.29) | |
| CIE LCH | lch(21.86, 9.51, 282.31) | |
| CIE XYZ | xyz(3.43, 3.478, 5.644) | |
| Decimal | 3159106 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #303442, 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 #303442 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.7:1 | Fail | Fail | Fail |
| Sample text | 12.39:1 | Pass | Pass | Pass |
| #303442 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.39:1 | Pass | Pass | Pass |
| Sample text | 1.7: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 #303442 looks to people with the most common types of color vision deficiency.
#303543Protanopia
no red cones#2f3442Deuteranopia
no green cones#2c3739Tritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #303442; }
.text { color: #303442; }
.border { border: 2px solid #303442; }
.transparent { background-color: rgb(48 52 66 / 50%); }
.gradient { background: linear-gradient(to right, #303442, #353042); }
Similar colors
#303543Total Eclipse#35343fWitches Cauldron#333344Shuriken#393f4bInkblot#3c4151Lava Stone#353f51Dark & Stormy#363b43Do Not Disturb#393540Professor Plum
Closest common color name: Gunmetal.
Questions
- What color is #303442?
- #303442 is a dark, grayish blue, closest to the named color Total Eclipse. It belongs to the gray family of colors.
- What is the RGB value of #303442?
- The RGB value is 48, 52, 66: 48 red, 52 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #303442?
- The complementary color is #423E30, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #303442?
- White text. Black text has a contrast ratio of 1.7:1 and white text 12.39:1. WCAG asks for at least 4.5:1 for normal text.