⤺ color picker

#285f7d Color Hex

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

The hex color code #285f7d is a shade of blue-cyan. In a RGB color space it is composed of 15.69% red, 37.25% green and 49.02% blue. In HSL notation it has 201.2° hue, 51.5% saturation and 32.4% lightness. The process color (CMYK) is combination of 68% cyan, 24% magenta, 0% yellow and 50.98% key (black). The closest short hexadecimal code of #285f7d is #257.

Color information

  • #285f7d is a shade of blue-cyan.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 68%
    • Magenta: 24%
    • Yellow: 0%
    • Key color - black: 50.98%
  • In the HSL model coordinates are:
    • Hue: 201.2° degrees
    • Saturation: 51.5%
    • Lightness: 32.4%
  • The values in the RGB color space are:
    • Red: 40 (15.69%)
    • Green: 95 (37.25%)
    • Blue: 125 (49.02%)


C: 68%, M: 24%, Y: 0%, K: 50.98%
R: 40, G: 95, B: 125
H: 201.2°, S: 51.5%, L: 32.4%

Color harmonies

#285f7d color HTML and CSS codes

Example CSS code:

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

#285f7d text/font color

How to set font color?

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

Font color is #285f7d.

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

#285f7d background color

How to set background color?

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

Background color is #285f7d.

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