40495C

#40495C closest to Starless Night

#40495C is a dark gray; the closest named color is Starless Night. In the RGB color model it is made of 25.1% red, 28.6% green and 36.1% blue (rgb(64, 73, 92)). Its HSL value is 221° hue, 18% saturation and 31% lightness, and in CMYK it is 30% cyan, 21% magenta, 0% yellow and 64% black. #40495C is a neutral color. White text reads best on it, with a contrast ratio of 9.03:1.

#40495C color conversion

HEX
RGB
HSL
HSB / HSV
HWB
CMYK
XYZ
CIELAB
CIELCh
CIELUV
OKLCH

Variations of #40495C

Shades

Mixed with black: richer and darker.

Tints

Mixed with white: lighter and softer.

Tones

Mixed with gray: calmer and more muted.

Hues

The same lightness and chroma, rotated around the color wheel.

Temperatures

Cooler on the left, warmer on the right.

#40495C color harmonies

Complementary

The opposite hue — maximum contrast and energy.

Open in generator →

Split complementary

The two hues next to the complement — contrast with less tension.

Open in generator →

Analogous

Neighbouring hues — calm, cohesive and natural.

Open in generator →

Triadic

Three hues evenly spaced at 120° — vibrant yet balanced.

Open in generator →

Tetradic

Two complementary pairs — rich, best with one dominant color.

Open in generator →

Square

Four hues spaced at 90° — bold and playful.

Open in generator →

#40495C for color-blind viewers (and dogs)

How #40495C appears with each type of color vision deficiency (Machado 2009 model) — and to your dog. Try the dog vision simulator →

  • Dog vision 99% similarHow dogs see it · simulated as #40485C
  • Protanopia 99% similar1.3% of men, 0.02% of women · simulated as #434A5D
  • Protanomaly 99% similar1.3% of men, 0.02% of women · simulated as #424A5D
  • Deuteranopia 99% similar1.2% of men, 0.01% of women · simulated as #40485C
  • Deuteranomaly 99% similar5% of men, 0.35% of women · simulated as #40485C
  • Tritanopia 94% similar0.001% of men, 0.03% of women · simulated as #384D4F
  • Tritanomaly 97% similar0.0001% of men, 0.0001% of women · simulated as #3D4B56
  • Achromatopsia 93% similar0.003% of men, 0.003% of women · simulated as #494949
  • Achromatomaly 95% similar0.001% of men, 0.001% of women · simulated as #47494E

#40495C contrast checker

AaThe quick brown fox jumps over the lazy dog.
9.03:1 Very good#40495C text on white
AA normalPassAAA normalPass
AA largePassAAA largePass
AaThe quick brown fox jumps over the lazy dog.
2.33:1 Very poor#40495C text on black
AA normalFailAAA normalFail
AA largeFailAAA largeFail

Need another background? Pick any pair in the palette generator and open the contrast panel.

Colors similar to #40495C

Palettes with #40495C

#40495C in CSS

/* Starless Night */
.color { color: #40495C; }
.background { background-color: #40495C; }
.border { border: 1px solid #40495C; }

/* Other notations */
color: rgb(64 73 92);
color: hsl(221 18% 31%);
color: oklch(0.405 0.034 265.0);

#40495C FAQ

What color is #40495C?

#40495C is a dark gray. Its closest named color is Starless Night. It belongs to the gray color family and is a neutral color.

What is the RGB value of #40495C?

#40495C is rgb(64, 73, 92) in RGB, hsl(221, 18%, 31%) in HSL and cmyk(30%, 21%, 0%, 64%) in CMYK.

What is the complementary color of #40495C?

The complementary color of #40495C is #5C5340, which sits opposite it on the color wheel.

Which text color works on #40495C?

White text has the best contrast on #40495C: 9.03:1, which meets the WCAG AA requirement of 4.5:1 for normal text.

Is #40495C a warm or cool color?

#40495C is a neutral color.