⤺ color picker
0
Reddit

#0c5297 Color Hex

Hex color #0c5297, RGB(12, 82, 151) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #0c5297 is a shade of blue-cyan. In a RGB color space it is composed of 4.71% red, 32.16% green and 59.22% blue. In HSL notation it has 209.8° hue, 85.3% saturation and 32% lightness. The process color (CMYK) is combination of 92.05% cyan, 45.70% magenta, 0% yellow and 40.78% key (black). The closest short hexadecimal code of #0c5297 is #059.

Color information

  • #0c5297 is a shade of blue-cyan.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 92.05%
    • Magenta: 45.70%
    • Yellow: 0%
    • Key color - black: 40.78%
  • In the HSL model coordinates are:
    • Hue: 209.8° degrees
    • Saturation: 85.3%
    • Lightness: 32%
  • The values in the RGB color space are:
    • Red: 12 (4.71%)
    • Green: 82 (32.16%)
    • Blue: 151 (59.22%)

Conversions

Hex:
#0c5297
CMYK:
C: 92.05%, M: 45.70%, Y: 0%, K: 40.78%
RGB:
R: 12, G: 82, B: 151
HSL:
H: 209.8°, S: 85.3%, L: 32%

Color harmonies

#0c5297 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #0c5297; }
.setBackgroundColor { background-color: #0c5297; }

#0c5297 text/font color

How to set font color?

<p style="color:#0c5297">Font color is #0c5297.</p>

Font color is #0c5297.

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

#0c5297 background color

How to set background color?

<div style="background-color:#0c5297">Background color is #0c5297.</div>

Background color is #0c5297.

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