⤺ color picker
0
Reddit

#2f51dc Color Hex

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


The hex color code #2f51dc is a shade of blue. In a RGB color space it is composed of 18.43% red, 31.76% green and 86.27% blue. In HSL notation it has 228.2° hue, 71.2% saturation and 52.4% lightness. The process color (CMYK) is combination of 78.64% cyan, 63.18% magenta, 0% yellow and 13.73% key (black). The closest short hexadecimal code of #2f51dc is #25d.

Color information

  • #2f51dc is a shade of blue.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 78.64%
    • Magenta: 63.18%
    • Yellow: 0%
    • Key color - black: 13.73%
  • In the HSL model coordinates are:
    • Hue: 228.2° degrees
    • Saturation: 71.2%
    • Lightness: 52.4%
  • The values in the RGB color space are:
    • Red: 47 (18.43%)
    • Green: 81 (31.76%)
    • Blue: 220 (86.27%)

Conversions

Hex:
#2f51dc
CMYK:
C: 78.64%, M: 63.18%, Y: 0%, K: 13.73%
RGB:
R: 47, G: 81, B: 220
HSL:
H: 228.2°, S: 71.2%, L: 52.4%

Color harmonies

#2f51dc color HTML and CSS codes

Example CSS code:

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

#2f51dc text/font color

How to set font color?

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

Font color is #2f51dc.

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

#2f51dc background color

How to set background color?

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

Background color is #2f51dc.

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