#2F5157 color

#2F5157 rgb(47, 81, 87)
Shades of gray

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

In the RGB color model it is made of 18.4% red, 31.8% green and 34.1% blue (47, 81, 87).

Its hue angle is 189°, with 30% saturation and 26% lightness. For print, the CMYK equivalent is 46% cyan, 7% magenta, 0% yellow and 66% black.

The closest named color is Sunken Mystery (#23505A), a difference of 2.4 ΔE, a small difference.

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

#2F5157 color codes

HEX#2F5157
RGBrgb(47, 81, 87)
RGB percentrgb(18.4%, 31.8%, 34.1%)
HSLhsl(189, 30%, 26%)
HSV / HSBhsv(189, 46%, 34%)
CMYKcmyk(46%, 7%, 0%, 66%)
CIE LABlab(32.21, -10.55, -7.4)
CIE LCHlch(32.21, 12.88, 215.05)
CIE XYZxyz(5.834, 7.177, 10.093)
Decimal3101015
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #2f5157; }
.text { color: #2f5157; }
.border { border: 2px solid #2f5157; }
.transparent { background-color: rgb(47 81 87 / 50%); }
.gradient { background: linear-gradient(to right, #2f5157, #2f3d57); }
Background
Text color
Border

Similar colors

Questions

What color is #2F5157?
#2F5157 is a dark, desaturated cyan, closest to the named color Sunken Mystery. It belongs to the gray family of colors.
What is the RGB value of #2F5157?
The RGB value is 47, 81, 87: 47 red, 81 green and 87 blue on a 0 to 255 scale.
What is the complementary color of #2F5157?
The complementary color is #57352F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2F5157?
White text. Black text has a contrast ratio of 2.44:1 and white text 8.62:1. WCAG asks for at least 4.5:1 for normal text.