#040ef8 Color Information

In a RGB color space, hex #040ef8 is composed of 1.6% red, 5.5% green and 97.3% blue. Whereas in a CMYK color space, it is composed of 98.4% cyan, 94.4% magenta, 0% yellow and 2.7% black. It has a hue angle of 237.5 degrees, a saturation of 96.8% and a lightness of 49.4%. #040ef8 color hex could be obtained by blending #081cff with #0000f1. Closest websafe color is: #0000ff.

    • R 2
    • G 5
    • B 97
    RGB color chart
    • C 98
    • M 94
    • Y 0
    • K 3
    CMYK color chart

#040ef8 color description : Vivid blue.

#040ef8 Color Conversion

The hexadecimal color #040ef8 has RGB values of R:4, G:14, B:248 and CMYK values of C:0.98, M:0.94, Y:0, K:0.03. Its decimal value is 265976.

Hex triplet 040ef8 #040ef8
RGB Decimal 4, 14, 248 rgb(4,14,248)
RGB Percent 1.6, 5.5, 97.3 rgb(1.6%,5.5%,97.3%)
CMYK 98, 94, 0, 3
HSL 237.5°, 96.8, 49.4 hsl(237.5,96.8%,49.4%)
HSV (or HSB) 237.5°, 98.4, 97.3
Web Safe 0000ff #0000ff
CIE-LAB 32.069, 75.328, -104.311
XYZ 17.147, 7.116, 89.272
xyY 0.151, 0.063, 7.116
CIE-LCH 32.069, 128.667, 305.835
CIE-LUV 32.069, -9.479, -127.086
Hunter-Lab 26.676, 68.057, -179.745
Binary 00000100, 00001110, 11111000

Color Schemes with #040ef8

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #040ef8

Below, you can see some colors close to #040ef8. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#040ef8 Preview

Text with hexadecimal color #040ef8

This text has a font color of #040ef8.

<span style="color:#040ef8;">Text here</span>
#040ef8 background color

This paragraph has a background color of #040ef8.

<p style="background-color:#040ef8;">Content here</p>
#040ef8 border color

This element has a border color of #040ef8.

<div style="border:1px solid #040ef8;">Content here</div>
CSS codes
.text {color:#040ef8;}
.background {background-color:#040ef8;}
.border {border:1px solid #040ef8;}

Shades and Tints of #040ef8

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #000110 is the darkest color, while #fcfcff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #040ef8

A tone is produced by adding gray to any pure hue. In this case, #787984 is the less saturated color, while #040ef8 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040ef8 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

Monochromacy
  • #262626 Achromatopsia 0.005% of the population
  • #1f2150 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00529f Protanopia 1% of men
  • #005789 Deuteranopia 1% of men
  • #005d60 Tritanopia 0.001% of the population
Trichromacy
  • #0139bf Protanomaly 1% of men, 0.01% of women
  • #013cb1 Deuteranomaly 6% of men, 0.4% of women
  • #014097 Tritanomaly 0.01% of the population