Skip to content

#40787D Color

#40787D is rgb(64, 120, 125) in RGB, hsl(185, 32%, 37%) in HSL, and about cmyk(49%, 4%, 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 3.17. White text is the more readable choice on this background.

#40787D
HEX#40787D
RGBrgb(64, 120, 125)
HSLhsl(185, 32%, 37%)
HSVhsv(185, 49%, 49%)
CMYKcmyk(49%, 4%, 0%, 51%)
OKLCHoklch(53.6% 0.06 203.1)
LABlab(46.78% -18.18 -8.82)
LCHlch(46.78% 20.21 205.86)

What #40787D 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 #40787D, 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.

#40787D Channel Values

How #40787D 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 64 · G 120 · B 1258-bit channels as sent to the display
HSLH 185° · S 32% · L 37%Easiest model for building lighter and darker variants
HSVH 185° · S 49% · V 49%Matches the picker in most design tools
CMYKC 49% · M 4% · Y 0% · K 51%Approximate ink mix; confirm with an ICC profile before printing
Luminance5:1 vs white · 4.2:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #40787D 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:1AA normal AA large AAA normal
Fails AABlack text4.2:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #40787D in the contrast checker.

Colors That Go With #40787D

Pairings derived from color-wheel relationships. The complementary color sits opposite #40787D; 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 #40787D

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 #40787D.

How #40787D 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#40787D
Protanopia#71717D
Protanomaly#61747D
Deuteranopia#69697E
Deuteranomaly#5C707E
Tritanopia#3F7979
Tritanomaly#3F787A
Achromatopsia#6F6F6F

Test a full palette in the color blindness simulator.

Using #40787D in Code

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

CSS custom property--color-40787d: #40787D;
CSS backgroundbackground-color: #40787D;
Tailwind configcolors: { 'color-40787d': '#40787D' }
SwiftUIColor(red: 0.251, green: 0.471, blue: 0.490)
Android XML<color name="color_40787d">#40787D</color>
SVG fillfill="#40787D"

More Teal Colors

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

#40787D Frequently Asked Questions

What color is #40787D?

#40787D is a dark teal — rgb(64, 120, 125) in RGB and hsl(185, 32%, 37%) 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 3.17.

What is the RGB value of #40787D?

#40787D is rgb(64, 120, 125) — red 64, green 120, and blue 125 on the 0-255 scale.

What is the CMYK value of #40787D?

#40787D converts to approximately cmyk(49%, 4%, 0%, 51%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #40787D be black or white?

White text is the more readable choice. #40787D scores 5:1 against white and 4.2:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #40787D as a CSS color keyword?

No. #40787D 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 12.26, which is visibly different.

Open #40787D in a Tool

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