⤺ color picker

#1f3438 Color Hex

Hex color #1f3438, RGB(31, 52, 56) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #1f3438 is a shade of cyan. In a RGB color space it is composed of 12.16% red, 20.39% green and 21.96% blue. In HSL notation it has 189.6° hue, 28.7% saturation and 17.1% lightness. The process color (CMYK) is combination of 44.64% cyan, 7.14% magenta, 0% yellow and 78.04% key (black). The closest short hexadecimal code of #1f3438 is #133.

Color information

  • #1f3438 is a shade of cyan.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 44.64%
    • Magenta: 7.14%
    • Yellow: 0%
    • Key color - black: 78.04%
  • In the RAL color palette it appears under the number RAL 5001. The color name is Green blue.
  • In the HSL model coordinates are:
    • Hue: 189.6° degrees
    • Saturation: 28.7%
    • Lightness: 17.1%
  • The values in the RGB color space are:
    • Red: 31 (12.16%)
    • Green: 52 (20.39%)
    • Blue: 56 (21.96%)


C: 44.64%, M: 7.14%, Y: 0%, K: 78.04%
R: 31, G: 52, B: 56
H: 189.6°, S: 28.7%, L: 17.1%

Color harmonies

#1f3438 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #1f3438; }
.setBackgroundColor { background-color: #1f3438; }

#1f3438 text/font color

How to set font color?

<p style="color:#1f3438">Font color is #1f3438.</p>

Font color is #1f3438.

Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything. Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore

#1f3438 background color

How to set background color?

<div style="background-color:#1f3438">Background color is #1f3438.</div>

Background color is #1f3438.

When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant