#303948 color
The hex color #303948 is a dark, grayish azure.
In the RGB color model it is made of 18.8% red, 22.4% green and 28.2% blue (48, 57, 72).
Its hue angle is 218°, with 20% saturation and 24% lightness. For print, the CMYK equivalent is 33% cyan, 21% magenta, 0% yellow and 72% black.
The closest named color is Total Eclipse (#303543), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.64:1).
#303948 color codes
| HEX | #303948 | |
|---|---|---|
| RGB | rgb(48, 57, 72) | |
| RGB percent | rgb(18.8%, 22.4%, 28.2%) | |
| HSL | hsl(218, 20%, 24%) | |
| HSV / HSB | hsv(218, 33%, 28%) | |
| CMYK | cmyk(33%, 21%, 0%, 72%) | |
| CIE LAB | lab(23.75, 0.42, -10.44) | |
| CIE LCH | lch(23.75, 10.45, 272.31) | |
| CIE XYZ | xyz(3.851, 4.022, 6.703) | |
| Decimal | 3160392 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #303948, 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 #303948 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.8:1 | Fail | Fail | Fail |
| Sample text | 11.64:1 | Pass | Pass | Pass |
| #303948 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.64:1 | Pass | Pass | Pass |
| Sample text | 1.8: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 #303948 looks to people with the most common types of color vision deficiency.
#343a49Protanopia
no red cones#313748Deuteranopia
no green cones#293c3eTritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #303948; }
.text { color: #303948; }
.border { border: 2px solid #303948; }
.transparent { background-color: rgb(48 57 72 / 50%); }
.gradient { background: linear-gradient(to right, #303948, #333048); }
Similar colors
#303543Total Eclipse#353f51Dark & Stormy#393f4bInkblot#363b43Do Not Disturb#3c4151Lava Stone#3f4250Madonna#3f4551Dark Crypt#314159Pi
Closest common color name: Charcoal.
Questions
- What color is #303948?
- #303948 is a dark, grayish azure, closest to the named color Total Eclipse. It belongs to the gray family of colors.
- What is the RGB value of #303948?
- The RGB value is 48, 57, 72: 48 red, 57 green and 72 blue on a 0 to 255 scale.
- What is the complementary color of #303948?
- The complementary color is #483F30, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #303948?
- White text. Black text has a contrast ratio of 1.8:1 and white text 11.64:1. WCAG asks for at least 4.5:1 for normal text.