#304B4A color

#304B4A rgb(48, 75, 74)
Shades of gray

The hex color #304B4A is a dark, grayish cyan.

In the RGB color model it is made of 18.8% red, 29.4% green and 29% blue (48, 75, 74).

Its hue angle is 178°, with 22% saturation and 24% lightness. For print, the CMYK equivalent is 36% cyan, 0% magenta, 1% yellow and 71% black.

The closest named color is Dark Slate Gray (#2F4F4F), a difference of 1.7 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 9.41:1).

#304B4A color codes

HEX#304B4A
RGBrgb(48, 75, 74)
RGB percentrgb(18.8%, 29.4%, 29%)
HSLhsl(178, 22%, 24%)
HSV / HSBhsv(178, 36%, 29%)
CMYKcmyk(36%, 0%, 1%, 71%)
CIE LABlab(29.8, -10.43, -2.67)
CIE LCHlch(29.8, 10.77, 194.34)
CIE XYZxyz(4.971, 6.155, 7.403)
Decimal3165002
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #304B4A, 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 #304B4ARatioAAAAAAA large
Sample text2.23:1FailFailFail
Sample text9.41:1PassPassPass
#304B4A as text onRatioAAAAAAA large
Sample text9.41:1PassPassPass
Sample text2.23: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 #304B4A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #304b4a; }
.text { color: #304b4a; }
.border { border: 2px solid #304b4a; }
.transparent { background-color: rgb(48 75 74 / 50%); }
.gradient { background: linear-gradient(to right, #304b4a, #303e4b); }
Background
Text color
Border

Similar colors

Questions

What color is #304B4A?
#304B4A is a dark, grayish cyan, closest to the named color Dark Slate Gray. It belongs to the gray family of colors.
What is the RGB value of #304B4A?
The RGB value is 48, 75, 74: 48 red, 75 green and 74 blue on a 0 to 255 scale.
What is the complementary color of #304B4A?
The complementary color is #4B3031, found by rotating the hue 180° on the color wheel.
Is black or white text better on #304B4A?
White text. Black text has a contrast ratio of 2.23:1 and white text 9.41:1. WCAG asks for at least 4.5:1 for normal text.