⤺ color picker

#28064a Color Hex

Hex color #28064a, RGB(40, 6, 74) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #28064a is a shade of blue-magenta. In a RGB color space it is composed of 15.69% red, 2.35% green and 29.02% blue. In HSL notation it has 270° hue, 85% saturation and 15.7% lightness. The process color (CMYK) is combination of 45.95% cyan, 91.89% magenta, 0% yellow and 70.98% key (black). The closest short hexadecimal code of #28064a is #204.

Color information

  • #28064a is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 45.95%
    • Magenta: 91.89%
    • Yellow: 0%
    • Key color - black: 70.98%
  • In the HSL model coordinates are:
    • Hue: 270° degrees
    • Saturation: 85%
    • Lightness: 15.7%
  • The values in the RGB color space are:
    • Red: 40 (15.69%)
    • Green: 6 (2.35%)
    • Blue: 74 (29.02%)


C: 45.95%, M: 91.89%, Y: 0%, K: 70.98%
R: 40, G: 6, B: 74
H: 270°, S: 85%, L: 15.7%

Color harmonies

#28064a color HTML and CSS codes

Example CSS code:

.setFontColor { color: #28064a; }
.setBackgroundColor { background-color: #28064a; }

#28064a text/font color

How to set font color?

<p style="color:#28064a">Font color is #28064a.</p>

Font color is #28064a.

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

#28064a background color

How to set background color?

<div style="background-color:#28064a">Background color is #28064a.</div>

Background color is #28064a.

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