⤺ color picker
0
Reddit

#1f4aa6 Color Hex

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


The hex color code #1f4aa6 is a shade of blue-cyan. In a RGB color space it is composed of 12.16% red, 29.02% green and 65.1% blue. In HSL notation it has 220.9° hue, 68.5% saturation and 38.6% lightness. The process color (CMYK) is combination of 81.33% cyan, 55.42% magenta, 0% yellow and 34.90% key (black). The closest short hexadecimal code of #1f4aa6 is #14a.

Color information

  • #1f4aa6 is a shade of blue-cyan.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 81.33%
    • Magenta: 55.42%
    • Yellow: 0%
    • Key color - black: 34.90%
  • In the HSL model coordinates are:
    • Hue: 220.9° degrees
    • Saturation: 68.5%
    • Lightness: 38.6%
  • The values in the RGB color space are:
    • Red: 31 (12.16%)
    • Green: 74 (29.02%)
    • Blue: 166 (65.1%)

Conversions

Hex:
#1f4aa6
CMYK:
C: 81.33%, M: 55.42%, Y: 0%, K: 34.90%
RGB:
R: 31, G: 74, B: 166
HSL:
H: 220.9°, S: 68.5%, L: 38.6%

Color harmonies

#1f4aa6 color HTML and CSS codes

Example CSS code:

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

#1f4aa6 text/font color

How to set font color?

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

Font color is #1f4aa6.

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

#1f4aa6 background color

How to set background color?

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

Background color is #1f4aa6.

Compromise in colors is grey.
- Edi Rama