⤺ color picker

#1f4e81 Color Hex

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

The hex color code #1f4e81 is a shade of blue-cyan. In a RGB color space it is composed of 12.16% red, 30.59% green and 50.59% blue. In HSL notation it has 211.2° hue, 61.2% saturation and 31.4% lightness. The process color (CMYK) is combination of 75.97% cyan, 39.53% magenta, 0% yellow and 49.41% key (black). The closest short hexadecimal code of #1f4e81 is #148.

Color information

  • #1f4e81 is a shade of blue-cyan.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 75.97%
    • Magenta: 39.53%
    • Yellow: 0%
    • Key color - black: 49.41%
  • In the HSL model coordinates are:
    • Hue: 211.2° degrees
    • Saturation: 61.2%
    • Lightness: 31.4%
  • The values in the RGB color space are:
    • Red: 31 (12.16%)
    • Green: 78 (30.59%)
    • Blue: 129 (50.59%)


C: 75.97%, M: 39.53%, Y: 0%, K: 49.41%
R: 31, G: 78, B: 129
H: 211.2°, S: 61.2%, L: 31.4%

Color harmonies

#1f4e81 color HTML and CSS codes

Example CSS code:

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

#1f4e81 text/font color

How to set font color?

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

Font color is #1f4e81.

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

#1f4e81 background color

How to set background color?

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

Background color is #1f4e81.

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