Photo in the color Dark lava
Pictured: Dark lava, the closest color we have a photo of (#483C32)
rgb(60, 57, 61)
#3C393D

Moonless Night #3C393D RGB Color Code

Name from the community color list.

Moonless Night (#3C393D) is a dark neutral gray. In RGB it is made of 24% red, 22% green and 24% blue (R 60, G 57, B 61). The blue channel is the strongest. In HSL it has a hue of 285Β°, 3% saturation and 23% lightness. Its relative luminance is 0.042, so white text is easier to read on top of it. For print, a rough CMYK match is 2% cyan, 7% magenta, 0% yellow and 76% black. Check it against your printer's ICC profile before you print. Its saturation is very low, so it works as a neutral. It goes well with almost any accent color.

Open in color picker

Moonless Night color codes

#3C393D in every common color format. Click a value to copy it.

FormatValueNotesCopy
HEX #3C393D Valid CSS
RGB rgb(60, 57, 61) Valid CSS
HSL hsl(285, 3%, 23%) Valid CSS
HSV / HSB hsv(285, 7%, 24%) Not a CSS format
HWB hwb(285 22% 76%) Valid CSS
CMYK cmyk(2%, 7%, 0%, 76%) Approximate (no ICC profile)
OKLCH oklch(34.91% 0.0079 317.73) Valid CSS
OKLab oklab(34.91% 0.0059 -0.0053) Valid CSS
CIELAB lab(24.39% 2.02 -2) D50, as in CSS
CIELCH lch(24.39% 2.84 315.22) Valid CSS
Display P3 color(display-p3 0.2333 0.2239 0.2381) Valid CSS
XYZ (D65) color(xyz-d65 0.0417 0.0422 0.0501) Valid CSS
Decimal 3946813 Integer (0xRRGGBB)

CMYK here is a rough screen match without an ICC profile. See CMYK and print. Relative luminance: 0.0422. Nearest web-safe color: #333333.

Mix Moonless Night with other colors

See what #3C393D makes with red paint, under a green light, printed with cyan ink and in a digital blend with blue. Click a picture to change the colors and amounts in the color mixer.

Use Moonless Night in your code

Ready to paste into CSS, Sass, Tailwind, iOS, Android and Flutter. Click the icon to copy a line.

WhereCodeCopy
CSS variable--moonless-night: #3C393D;
Sass variable$moonless-night: #3C393D;
Tailwind CSS v4@theme { --color-moonless-night: #3C393D; }
Tailwind CSS v3 configcolors: { 'moonless-night': '#3C393D' }
SwiftUIColor(red: 0.235, green: 0.224, blue: 0.239)
UIKitUIColor(red: 0.235, green: 0.224, blue: 0.239, alpha: 1)
Android XML<color name="moonless_night">#FF3C393D</color>
Flutter and Jetpack ComposeColor(0xFF3C393D)

Accessibility and contrast

White text works best on #3C393D (11.38:1, AAA). Here is how #3C393D does as a text color:

Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
11.38:1 on white
APCA Lc 96
AAA
Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
1.84:1 on black
APCA Lc 0
Fails AATry #767378

Check this color against any background in the contrast checker. WCAG ratios and APCA Lc values measure different things, so one can't stand in for the other. Learn more.

How people with color blindness see Moonless Night

#3C393D next to its complement and its two triadic colors, as seen with each type of color blindness.

  • Normal visionhow most people see it
  • Protanopiano red cones, about 1% of men
  • Deuteranopiano green cones, the most common type
  • Tritanopiano blue cones, very rare
  • Achromatopsiano color at all, very rare

#3C393D has almost no hue, so it looks much the same with every type of color blindness. Only its lightness counts. Try your own colors in the color blindness simulator.

Moonless Night in a user interface

A sample app screen with #3C393D as the main color, on a light and a dark theme.

Light theme

Dark theme

Buttons and bars use #3C393D as it is. On the dark theme, #3C393D is too hard to read as text (1.56:1), so links, the badge and outline text use #827F84 there (4.50:1). Build a full color scheme around it in the UI color preview.

Color harmonies for Moonless Night

These schemes turn the hue of #3C393D around the color wheel. Each swatch links to its own page.

Complementary

Two colors on opposite sides of the wheel. This gives the most contrast.

Open palette

Analogous

Hues that sit next to each other and look good together.

Open palette

Triadic

Three hues spaced evenly around the wheel. Bold, but still balanced.

Open palette

Split complementary

A base color plus the two hues on each side of its opposite. Strong contrast that clashes less.

Open palette

Tetradic (rectangle)

Two pairs of opposite colors. Let one color lead and use the others less.

Open palette

Square

Four hues 90Β° apart, spread evenly around the wheel.

Open palette

Monochromatic

One hue at different levels of lightness and saturation.

Open palette

Gradients with Moonless Night

Four CSS gradients made from #3C393D. Copy the code, or open one in the gradient generator to change it.

Soft tint

From a pale tint to the full color.

background: linear-gradient(90deg, #D4D4D5, #3C393D);

Edit in the gradient generator

Deep shade

The color fading into a dark shade.

background: linear-gradient(180deg, #3C393D, #0A090A);

Edit in the gradient generator

Analogous

Its two neighbors on the color wheel.

background: linear-gradient(135deg, #3A393D, #3C393D, #3D393C);

Edit in the gradient generator

Triadic

A bold blend with a triadic color, through a clean middle.

background: linear-gradient(135deg, #3C393D, #3C3B3B, #3D3C39);

Edit in the gradient generator

Shades, tints and tones of Moonless Night

Shades are darker, tints are lighter and tones are grayer. We make them in OKLCH so the steps look even. Hover a step to see its code, or click it to open it.

Design system scale (50 to 950)

Moonless Night sits at step 800. Export the full scale as CSS variables or Tailwind tokens from the picker.

  1. 50
    F7F6F8
  2. 100
    EEECEE
  3. 200
    DCDADD
  4. 300
    C3C0C4
  5. 400
    A5A2A6
  6. 500
    888589
  7. 600
    6E6A6F
  8. 700
    575458
  9. 800
    3C393D
  10. 900
    312F32
  11. 950
    1D1C1E

Closest RAL, Tailwind and CSS colors

The nearest match to #3C393D in three color systems that designers and builders use.

Ξ”E is the distance in OKLab: under 2 is hard to see, over 10 is a clearly different color. Browse all RAL colors, the Tailwind palette or the 148 CSS color names. RAL values on screens are only a guide, so check a real color chart before you order paint.

The named colors that look closest to this one (Ξ”E in OKLab). Browse all shades of gray or search the color library.