⤺ color picker

#1f3681 Color Hex

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

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

Color information

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


C: 75.97%, M: 58.14%, Y: 0%, K: 49.41%
R: 31, G: 54, B: 129
H: 225.9°, S: 61.2%, L: 31.4%

Color harmonies

#1f3681 color HTML and CSS codes

Example CSS code:

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

#1f3681 text/font color

How to set font color?

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

Font color is #1f3681.

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

#1f3681 background color

How to set background color?

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

Background color is #1f3681.

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