⤺ color picker
0
Reddit

#2f178e Color Hex

Hex color #2f178e, RGB(47, 23, 142) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #2f178e is a shade of blue. In a RGB color space it is composed of 18.43% red, 9.02% green and 55.69% blue. In HSL notation it has 252.1° hue, 72.1% saturation and 32.4% lightness. The process color (CMYK) is combination of 66.90% cyan, 83.80% magenta, 0% yellow and 44.31% key (black). The closest short hexadecimal code of #2f178e is #218.

Color information

  • #2f178e is a shade of blue.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 66.90%
    • Magenta: 83.80%
    • Yellow: 0%
    • Key color - black: 44.31%
  • In the HSL model coordinates are:
    • Hue: 252.1° degrees
    • Saturation: 72.1%
    • Lightness: 32.4%
  • The values in the RGB color space are:
    • Red: 47 (18.43%)
    • Green: 23 (9.02%)
    • Blue: 142 (55.69%)

Conversions

Hex:
#2f178e
CMYK:
C: 66.90%, M: 83.80%, Y: 0%, K: 44.31%
RGB:
R: 47, G: 23, B: 142
HSL:
H: 252.1°, S: 72.1%, L: 32.4%

Color harmonies

#2f178e color HTML and CSS codes

Example CSS code:

.setFontColor { color: #2f178e; }
.setBackgroundColor { background-color: #2f178e; }

#2f178e text/font color

How to set font color?

<p style="color:#2f178e">Font color is #2f178e.</p>

Font color is #2f178e.

Compromise in colors is grey.
- Edi Rama

#2f178e background color

How to set background color?

<div style="background-color:#2f178e">Background color is #2f178e.</div>

Background color is #2f178e.

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