⤺ color picker

#1a31ff Color Hex

Hex color #1a31ff, RGB(26, 49, 255) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #1a31ff is a shade of blue. In a RGB color space it is composed of 10.2% red, 19.22% green and 100% blue. In HSL notation it has 234° hue, 100% saturation and 55.1% lightness. The process color (CMYK) is combination of 89.80% cyan, 80.78% magenta, 0% yellow and 0% key (black). The closest short hexadecimal code of #1a31ff is #13f.

Color information

  • #1a31ff is a shade of blue.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 89.80%
    • Magenta: 80.78%
    • Yellow: 0%
    • Key color - black: 0%
  • In the HSL model coordinates are:
    • Hue: 234° degrees
    • Saturation: 100%
    • Lightness: 55.1%
  • The values in the RGB color space are:
    • Red: 26 (10.2%)
    • Green: 49 (19.22%)
    • Blue: 255 (100%)


C: 89.80%, M: 80.78%, Y: 0%, K: 0%
R: 26, G: 49, B: 255
H: 234°, S: 100%, L: 55.1%

Color harmonies

#1a31ff color HTML and CSS codes

Example CSS code:

.setFontColor { color: #1a31ff; }
.setBackgroundColor { background-color: #1a31ff; }

#1a31ff text/font color

How to set font color?

<p style="color:#1a31ff">Font color is #1a31ff.</p>

Font color is #1a31ff.

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

#1a31ff background color

How to set background color?

<div style="background-color:#1a31ff">Background color is #1a31ff.</div>

Background color is #1a31ff.

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