⤺ color picker
0
Reddit

#402e47 Color Hex

Hex color #402e47, RGB(64, 46, 71) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #402e47 is a shade of blue-magenta. In a RGB color space it is composed of 25.1% red, 18.04% green and 27.84% blue. In HSL notation it has 283.2° hue, 21.4% saturation and 22.9% lightness. The process color (CMYK) is combination of 9.86% cyan, 35.21% magenta, 0% yellow and 72.16% key (black). The closest short hexadecimal code of #402e47 is #424.

Color information

  • #402e47 is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 9.86%
    • Magenta: 35.21%
    • Yellow: 0%
    • Key color - black: 72.16%
  • In the HSL model coordinates are:
    • Hue: 283.2° degrees
    • Saturation: 21.4%
    • Lightness: 22.9%
  • The values in the RGB color space are:
    • Red: 64 (25.1%)
    • Green: 46 (18.04%)
    • Blue: 71 (27.84%)

Conversions

Hex:
#402e47
CMYK:
C: 9.86%, M: 35.21%, Y: 0%, K: 72.16%
RGB:
R: 64, G: 46, B: 71
HSL:
H: 283.2°, S: 21.4%, L: 22.9%

Color harmonies

#402e47 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #402e47; }
.setBackgroundColor { background-color: #402e47; }

#402e47 text/font color

How to set font color?

<p style="color:#402e47">Font color is #402e47.</p>

Font color is #402e47.

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

#402e47 background color

How to set background color?

<div style="background-color:#402e47">Background color is #402e47.</div>

Background color is #402e47.

Compromise in colors is grey.
- Edi Rama