#303948 color

#303948 rgb(48, 57, 72)
Shades of gray

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
RGBrgb(48, 57, 72)
RGB percentrgb(18.8%, 22.4%, 28.2%)
HSLhsl(218, 20%, 24%)
HSV / HSBhsv(218, 33%, 28%)
CMYKcmyk(33%, 21%, 0%, 72%)
CIE LABlab(23.75, 0.42, -10.44)
CIE LCHlch(23.75, 10.45, 272.31)
CIE XYZxyz(3.851, 4.022, 6.703)
Decimal3160392
Short hexNone (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 #303948RatioAAAAAAA large
Sample text1.8:1FailFailFail
Sample text11.64:1PassPassPass
#303948 as text onRatioAAAAAAA large
Sample text11.64:1PassPassPass
Sample text1.8:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.