⤺ color picker
0
Reddit

#2f047d Color Hex

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


The hex color code #2f047d is a shade of blue-magenta. In a RGB color space it is composed of 18.43% red, 1.57% green and 49.02% blue. In HSL notation it has 261.3° hue, 93.8% saturation and 25.3% lightness. The process color (CMYK) is combination of 62.4% cyan, 96.8% magenta, 0% yellow and 50.98% key (black). The closest short hexadecimal code of #2f047d is #207.

Color information

  • #2f047d is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 62.4%
    • Magenta: 96.8%
    • Yellow: 0%
    • Key color - black: 50.98%
  • In the HSL model coordinates are:
    • Hue: 261.3° degrees
    • Saturation: 93.8%
    • Lightness: 25.3%
  • The values in the RGB color space are:
    • Red: 47 (18.43%)
    • Green: 4 (1.57%)
    • Blue: 125 (49.02%)

Conversions

Hex:
#2f047d
CMYK:
C: 62.4%, M: 96.8%, Y: 0%, K: 50.98%
RGB:
R: 47, G: 4, B: 125
HSL:
H: 261.3°, S: 93.8%, L: 25.3%

Color harmonies

#2f047d color HTML and CSS codes

Example CSS code:

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

#2f047d text/font color

How to set font color?

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

Font color is #2f047d.

Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage

#2f047d background color

How to set background color?

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

Background color is #2f047d.

Compromise in colors is grey.
- Edi Rama