⤺ color picker
0
Reddit

#2a2b8a Color Hex

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


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

Color information

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

Conversions

Hex:
#2a2b8a
CMYK:
C: 69.57%, M: 68.84%, Y: 0%, K: 45.88%
RGB:
R: 42, G: 43, B: 138
HSL:
H: 239.4°, S: 53.3%, L: 35.3%

Color harmonies

#2a2b8a color HTML and CSS codes

Example CSS code:

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

#2a2b8a text/font color

How to set font color?

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

Font color is #2a2b8a.

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

#2a2b8a background color

How to set background color?

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

Background color is #2a2b8a.

Compromise in colors is grey.
- Edi Rama