#304240 color

#304240 rgb(48, 66, 64)
Shades of gray

The hex color #304240 is a dark, grayish spring green.

In the RGB color model it is made of 18.8% red, 25.9% green and 25.1% blue (48, 66, 64).

Its hue angle is 173°, with 16% saturation and 22% lightness. For print, the CMYK equivalent is 27% cyan, 0% magenta, 3% yellow and 74% black.

The closest named color is Little Mermaid (#2D454A), a difference of 4.1 ΔE, a small difference.

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

#304240 color codes

HEX#304240
RGBrgb(48, 66, 64)
RGB percentrgb(18.8%, 25.9%, 25.1%)
HSLhsl(173, 16%, 22%)
HSV / HSBhsv(173, 27%, 26%)
CMYKcmyk(27%, 0%, 3%, 74%)
CIE LABlab(26.43, -7.66, -1.12)
CIE LCHlch(26.43, 7.74, 188.34)
CIE XYZxyz(4.092, 4.895, 5.579)
Decimal3162688
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #304240, 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 #304240RatioAAAAAAA large
Sample text1.98:1FailFailFail
Sample text10.61:1PassPassPass
#304240 as text onRatioAAAAAAA large
Sample text10.61:1PassPassPass
Sample text1.98: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 #304240 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #304240; }
.text { color: #304240; }
.border { border: 2px solid #304240; }
.transparent { background-color: rgb(48 66 64 / 50%); }
.gradient { background: linear-gradient(to right, #304240, #303b42); }
Background
Text color
Border

Similar colors

Questions

What color is #304240?
#304240 is a dark, grayish spring green, closest to the named color Little Mermaid. It belongs to the gray family of colors.
What is the RGB value of #304240?
The RGB value is 48, 66, 64: 48 red, 66 green and 64 blue on a 0 to 255 scale.
What is the complementary color of #304240?
The complementary color is #423032, found by rotating the hue 180° on the color wheel.
Is black or white text better on #304240?
White text. Black text has a contrast ratio of 1.98:1 and white text 10.61:1. WCAG asks for at least 4.5:1 for normal text.