⤺ color picker

#252f7d Color Hex

Hex color #252f7d, RGB(37, 47, 125) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #252f7d is a shade of blue. In a RGB color space it is composed of 14.51% red, 18.43% green and 49.02% blue. In HSL notation it has 233.2° hue, 54.3% saturation and 31.8% lightness. The process color (CMYK) is combination of 70.4% cyan, 62.4% magenta, 0% yellow and 50.98% key (black). The closest short hexadecimal code of #252f7d is #227.

Color information

  • #252f7d is a shade of blue.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 70.4%
    • Magenta: 62.4%
    • Yellow: 0%
    • Key color - black: 50.98%
  • In the HSL model coordinates are:
    • Hue: 233.2° degrees
    • Saturation: 54.3%
    • Lightness: 31.8%
  • The values in the RGB color space are:
    • Red: 37 (14.51%)
    • Green: 47 (18.43%)
    • Blue: 125 (49.02%)


C: 70.4%, M: 62.4%, Y: 0%, K: 50.98%
R: 37, G: 47, B: 125
H: 233.2°, S: 54.3%, L: 31.8%

Color harmonies

#252f7d color HTML and CSS codes

Example CSS code:

.setFontColor { color: #252f7d; }
.setBackgroundColor { background-color: #252f7d; }

#252f7d text/font color

How to set font color?

<p style="color:#252f7d">Font color is #252f7d.</p>

Font color is #252f7d.

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

#252f7d background color

How to set background color?

<div style="background-color:#252f7d">Background color is #252f7d.</div>

Background color is #252f7d.

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