⤺ color picker

#2d1c54 Color Hex

Hex color #2d1c54, RGB(45, 28, 84) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #2d1c54 is a shade of blue-magenta. In a RGB color space it is composed of 17.65% red, 10.98% green and 32.94% blue. In HSL notation it has 258.2° hue, 50% saturation and 22% lightness. The process color (CMYK) is combination of 46.43% cyan, 66.67% magenta, 0% yellow and 67.06% key (black). The closest short hexadecimal code of #2d1c54 is #215.

Color information

  • #2d1c54 is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 46.43%
    • Magenta: 66.67%
    • Yellow: 0%
    • Key color - black: 67.06%
  • In the HSL model coordinates are:
    • Hue: 258.2° degrees
    • Saturation: 50%
    • Lightness: 22%
  • The values in the RGB color space are:
    • Red: 45 (17.65%)
    • Green: 28 (10.98%)
    • Blue: 84 (32.94%)


C: 46.43%, M: 66.67%, Y: 0%, K: 67.06%
R: 45, G: 28, B: 84
H: 258.2°, S: 50%, L: 22%

Color harmonies

#2d1c54 color HTML and CSS codes

Example CSS code:

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

#2d1c54 text/font color

How to set font color?

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

Font color is #2d1c54.

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

#2d1c54 background color

How to set background color?

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

Background color is #2d1c54.

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