Skip to content

#31787C Color

#31787C is rgb(49, 120, 124) in RGB, hsl(183, 43%, 34%) in HSL, and about cmyk(60%, 3%, 0%, 51%) in CMYK. It has no registered color name of its own — the closest is Ming (#36747D), very hard to tell apart at ΔE 4.09. White text is the more readable choice on this background.

#31787C
HEX#31787C
RGBrgb(49, 120, 124)
HSLhsl(183, 43%, 34%)
HSVhsv(183, 60%, 49%)
CMYKcmyk(60%, 3%, 0%, 51%)
OKLCHoklch(53% 0.07 200.4)
LABlab(46.14% -22.02 -9.25)
LCHlch(46.14% 23.89 202.79)

What #31787C Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #31787C, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every teal in the library.

#31787C Channel Values

How #31787C breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 49 · G 120 · B 1248-bit channels as sent to the display
HSLH 183° · S 43% · L 34%Easiest model for building lighter and darker variants
HSVH 183° · S 60% · V 49%Matches the picker in most design tools
CMYKC 60% · M 3% · Y 0% · K 51%Approximate ink mix; confirm with an ICC profile before printing
Luminance5.11:1 vs white · 4.11:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #31787C background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text5.11:1AA normal AA large AAA normal
Fails AABlack text4.11:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #31787C in the contrast checker.

Colors That Go With #31787C

Pairings derived from color-wheel relationships. The complementary color sits opposite #31787C; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #31787C

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #31787C.

How #31787C Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#31787C
Protanopia#70707C
Protanomaly#5D737C
Deuteranopia#67677D
Deuteranomaly#566E7D
Tritanopia#2F7979
Tritanomaly#30787A
Achromatopsia#6E6E6E

Test a full palette in the color blindness simulator.

Using #31787C in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-31787c: #31787C;
CSS backgroundbackground-color: #31787C;
Tailwind configcolors: { 'color-31787c': '#31787C' }
SwiftUIColor(red: 0.192, green: 0.471, blue: 0.486)
Android XML<color name="color_31787c">#31787C</color>
SVG fillfill="#31787C"

More Teal Colors

#31787C sits in the teal family. These are its neighbours across that family's full range, each with its own breakdown.

#31787C Frequently Asked Questions

What color is #31787C?

#31787C is a dark teal — rgb(49, 120, 124) in RGB and hsl(183, 43%, 34%) in HSL. It carries no registered color name of its own; the closest named color is Ming (#36747D), which is very hard to tell apart at a CIE76 distance of 4.09.

What is the RGB value of #31787C?

#31787C is rgb(49, 120, 124) — red 49, green 120, and blue 124 on the 0-255 scale.

What is the CMYK value of #31787C?

#31787C converts to approximately cmyk(60%, 3%, 0%, 51%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #31787C be black or white?

White text is the more readable choice. #31787C scores 5.11:1 against white and 4.11:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #31787C as a CSS color keyword?

No. #31787C is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is teal (#008080) at a CIE76 distance of 8.57, which is clearly related but distinguishable side by side.

Open #31787C in a Tool

Keep exploring: every teal in the color library, the guide to shades of teal, or the full color library.