#2D4F51 color

#2D4F51 rgb(45, 79, 81)
Shades of gray

The hex color #2D4F51 is a dark, desaturated cyan.

In the RGB color model it is made of 17.6% red, 31% green and 31.8% blue (45, 79, 81).

Its hue angle is 183°, with 29% saturation and 25% lightness. For print, the CMYK equivalent is 44% cyan, 2% magenta, 0% yellow and 68% black.

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

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

#2D4F51 color codes

HEX#2D4F51
RGBrgb(45, 79, 81)
RGB percentrgb(17.6%, 31%, 31.8%)
HSLhsl(183, 29%, 25%)
HSV / HSBhsv(183, 44%, 32%)
CMYKcmyk(44%, 2%, 0%, 68%)
CIE LABlab(31.22, -11.74, -5.07)
CIE LCHlch(31.22, 12.79, 203.36)
CIE XYZxyz(5.363, 6.744, 8.802)
Decimal2969425
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #2D4F51, 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 #2D4F51RatioAAAAAAA large
Sample text2.35:1FailFailFail
Sample text8.94:1PassPassPass
#2D4F51 as text onRatioAAAAAAA large
Sample text8.94:1PassPassPass
Sample text2.35: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 #2D4F51 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #2d4f51; }
.text { color: #2d4f51; }
.border { border: 2px solid #2d4f51; }
.transparent { background-color: rgb(45 79 81 / 50%); }
.gradient { background: linear-gradient(to right, #2d4f51, #2d3d51); }
Background
Text color
Border

Similar colors

Questions

What color is #2D4F51?
#2D4F51 is a dark, desaturated cyan, closest to the named color Dark Slate Gray. It belongs to the gray family of colors.
What is the RGB value of #2D4F51?
The RGB value is 45, 79, 81: 45 red, 79 green and 81 blue on a 0 to 255 scale.
What is the complementary color of #2D4F51?
The complementary color is #512F2D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2D4F51?
White text. Black text has a contrast ratio of 2.35:1 and white text 8.94:1. WCAG asks for at least 4.5:1 for normal text.