⤺ color picker
0
Reddit

#2a438a Color Hex

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


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

Color information

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

Conversions

Hex:
#2a438a
CMYK:
C: 69.57%, M: 51.45%, Y: 0%, K: 45.88%
RGB:
R: 42, G: 67, B: 138
HSL:
H: 224.4°, S: 53.3%, L: 35.3%

Color harmonies

#2a438a color HTML and CSS codes

Example CSS code:

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

#2a438a text/font color

How to set font color?

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

Font color is #2a438a.

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

#2a438a background color

How to set background color?

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

Background color is #2a438a.

Compromise in colors is grey.
- Edi Rama