⤺ color picker
0
Reddit

#1f237e Color Hex

Hex color #1f237e, RGB(31, 35, 126) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #1f237e is a shade of blue. In a RGB color space it is composed of 12.16% red, 13.73% green and 49.41% blue. In HSL notation it has 237.5° hue, 60.5% saturation and 30.8% lightness. The process color (CMYK) is combination of 75.40% cyan, 72.22% magenta, 0% yellow and 50.59% key (black). The closest short hexadecimal code of #1f237e is #127.

Color information

  • #1f237e is a shade of blue.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 75.40%
    • Magenta: 72.22%
    • Yellow: 0%
    • Key color - black: 50.59%
  • In the HSL model coordinates are:
    • Hue: 237.5° degrees
    • Saturation: 60.5%
    • Lightness: 30.8%
  • The values in the RGB color space are:
    • Red: 31 (12.16%)
    • Green: 35 (13.73%)
    • Blue: 126 (49.41%)

Conversions

Hex:
#1f237e
CMYK:
C: 75.40%, M: 72.22%, Y: 0%, K: 50.59%
RGB:
R: 31, G: 35, B: 126
HSL:
H: 237.5°, S: 60.5%, L: 30.8%

Color harmonies

#1f237e color HTML and CSS codes

Example CSS code:

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

#1f237e text/font color

How to set font color?

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

Font color is #1f237e.

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

#1f237e background color

How to set background color?

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

Background color is #1f237e.

Compromise in colors is grey.
- Edi Rama