⤺ color picker

#2252b2 Color Hex

Hex color #2252b2, RGB(34, 82, 178) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #2252b2 is a shade of blue-cyan. In a RGB color space it is composed of 13.33% red, 32.16% green and 69.8% blue. In HSL notation it has 220° hue, 67.9% saturation and 41.6% lightness. The process color (CMYK) is combination of 80.90% cyan, 53.93% magenta, 0% yellow and 30.20% key (black). The closest short hexadecimal code of #2252b2 is #25b.

Color information

  • #2252b2 is a shade of blue-cyan.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 80.90%
    • Magenta: 53.93%
    • Yellow: 0%
    • Key color - black: 30.20%
  • In the HSL model coordinates are:
    • Hue: 220° degrees
    • Saturation: 67.9%
    • Lightness: 41.6%
  • The values in the RGB color space are:
    • Red: 34 (13.33%)
    • Green: 82 (32.16%)
    • Blue: 178 (69.8%)


C: 80.90%, M: 53.93%, Y: 0%, K: 30.20%
R: 34, G: 82, B: 178
H: 220°, S: 67.9%, L: 41.6%

Color harmonies

#2252b2 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #2252b2; }
.setBackgroundColor { background-color: #2252b2; }

#2252b2 text/font color

How to set font color?

<p style="color:#2252b2">Font color is #2252b2.</p>

Font color is #2252b2.

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

#2252b2 background color

How to set background color?

<div style="background-color:#2252b2">Background color is #2252b2.</div>

Background color is #2252b2.

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