⤺ color picker
0
Reddit

#2f2f5e Color Hex

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


The hex color code #2f2f5e is a shade of blue. In a RGB color space it is composed of 18.43% red, 18.43% green and 36.86% blue. In HSL notation it has 240° hue, 33.3% saturation and 27.6% lightness. The process color (CMYK) is combination of 50% cyan, 50% magenta, 0% yellow and 63.14% key (black). The closest short hexadecimal code of #2f2f5e is #225.

Color information

  • #2f2f5e is a shade of blue.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 50%
    • Magenta: 50%
    • Yellow: 0%
    • Key color - black: 63.14%
  • In the HSL model coordinates are:
    • Hue: 240° degrees
    • Saturation: 33.3%
    • Lightness: 27.6%
  • The values in the RGB color space are:
    • Red: 47 (18.43%)
    • Green: 47 (18.43%)
    • Blue: 94 (36.86%)

Conversions

Hex:
#2f2f5e
CMYK:
C: 50%, M: 50%, Y: 0%, K: 63.14%
RGB:
R: 47, G: 47, B: 94
HSL:
H: 240°, S: 33.3%, L: 27.6%

Color harmonies

#2f2f5e color HTML and CSS codes

Example CSS code:

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

#2f2f5e text/font color

How to set font color?

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

Font color is #2f2f5e.

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

#2f2f5e background color

How to set background color?

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

Background color is #2f2f5e.

Compromise in colors is grey.
- Edi Rama