⤺ color picker
0
Reddit

#2a5b8a Color Hex

Hex color #2a5b8a, RGB(42, 91, 138) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #2a5b8a is a shade of blue-cyan. In a RGB color space it is composed of 16.47% red, 35.69% green and 54.12% blue. In HSL notation it has 209.4° hue, 53.3% saturation and 35.3% lightness. The process color (CMYK) is combination of 69.57% cyan, 34.06% magenta, 0% yellow and 45.88% key (black). The closest short hexadecimal code of #2a5b8a is #258.

Color information

  • #2a5b8a is a shade of blue-cyan.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 69.57%
    • Magenta: 34.06%
    • Yellow: 0%
    • Key color - black: 45.88%
  • In the HSL model coordinates are:
    • Hue: 209.4° degrees
    • Saturation: 53.3%
    • Lightness: 35.3%
  • The values in the RGB color space are:
    • Red: 42 (16.47%)
    • Green: 91 (35.69%)
    • Blue: 138 (54.12%)

Conversions

Hex:
#2a5b8a
CMYK:
C: 69.57%, M: 34.06%, Y: 0%, K: 45.88%
RGB:
R: 42, G: 91, B: 138
HSL:
H: 209.4°, S: 53.3%, L: 35.3%

Color harmonies

#2a5b8a color HTML and CSS codes

Example CSS code:

.setFontColor { color: #2a5b8a; }
.setBackgroundColor { background-color: #2a5b8a; }

#2a5b8a text/font color

How to set font color?

<p style="color:#2a5b8a">Font color is #2a5b8a.</p>

Font color is #2a5b8a.

Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage

#2a5b8a background color

How to set background color?

<div style="background-color:#2a5b8a">Background color is #2a5b8a.</div>

Background color is #2a5b8a.

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