⤺ color picker
0
Reddit

#40457c Color Hex

Hex color #40457c, RGB(64, 69, 124) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #40457c is a shade of blue. In a RGB color space it is composed of 25.1% red, 27.06% green and 48.63% blue. In HSL notation it has 235° hue, 31.9% saturation and 36.9% lightness. The process color (CMYK) is combination of 48.39% cyan, 44.35% magenta, 0% yellow and 51.37% key (black). The closest short hexadecimal code of #40457c is #447.

Color information

  • #40457c is a shade of blue.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 48.39%
    • Magenta: 44.35%
    • Yellow: 0%
    • Key color - black: 51.37%
  • In the HSL model coordinates are:
    • Hue: 235° degrees
    • Saturation: 31.9%
    • Lightness: 36.9%
  • The values in the RGB color space are:
    • Red: 64 (25.1%)
    • Green: 69 (27.06%)
    • Blue: 124 (48.63%)

Conversions

Hex:
#40457c
CMYK:
C: 48.39%, M: 44.35%, Y: 0%, K: 51.37%
RGB:
R: 64, G: 69, B: 124
HSL:
H: 235°, S: 31.9%, L: 36.9%

Color harmonies

#40457c color HTML and CSS codes

Example CSS code:

.setFontColor { color: #40457c; }
.setBackgroundColor { background-color: #40457c; }

#40457c text/font color

How to set font color?

<p style="color:#40457c">Font color is #40457c.</p>

Font color is #40457c.

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

#40457c background color

How to set background color?

<div style="background-color:#40457c">Background color is #40457c.</div>

Background color is #40457c.

Compromise in colors is grey.
- Edi Rama