⤺ color picker

#949ef2 Color Hex

Hex color #949ef2, RGB(148, 158, 242) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #949ef2 is a shade of blue. In a RGB color space it is composed of 58.04% red, 61.96% green and 94.9% blue. In HSL notation it has 233.6° hue, 78.3% saturation and 76.5% lightness. The process color (CMYK) is combination of 38.84% cyan, 34.71% magenta, 0% yellow and 5.10% key (black). The closest short hexadecimal code of #949ef2 is #99f.

Color information

  • #949ef2 is a shade of blue.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 38.84%
    • Magenta: 34.71%
    • Yellow: 0%
    • Key color - black: 5.10%
  • In the HSL model coordinates are:
    • Hue: 233.6° degrees
    • Saturation: 78.3%
    • Lightness: 76.5%
  • The values in the RGB color space are:
    • Red: 148 (58.04%)
    • Green: 158 (61.96%)
    • Blue: 242 (94.9%)


C: 38.84%, M: 34.71%, Y: 0%, K: 5.10%
R: 148, G: 158, B: 242
H: 233.6°, S: 78.3%, L: 76.5%

Color harmonies

#949ef2 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #949ef2; }
.setBackgroundColor { background-color: #949ef2; }

#949ef2 text/font color

How to set font color?

<p style="color:#949ef2">Font color is #949ef2.</p>

Font color is #949ef2.

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

#949ef2 background color

How to set background color?

<div style="background-color:#949ef2">Background color is #949ef2.</div>

Background color is #949ef2.

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