#040fec Color Information

In a RGB color space, hex #040fec is composed of 1.6% red, 5.9% green and 92.5% blue. Whereas in a CMYK color space, it is composed of 98.3% cyan, 93.6% magenta, 0% yellow and 7.5% black. It has a hue angle of 237.2 degrees, a saturation of 96.7% and a lightness of 47.1%. #040fec color hex could be obtained by blending #081eff with #0000d9. Closest websafe color is: #0000ff.

    • R 2
    • G 6
    • B 93
    RGB color chart
    • C 98
    • M 94
    • Y 0
    • K 7
    CMYK color chart

#040fec color description : Vivid blue.

#040fec Color Conversion

The hexadecimal color #040fec has RGB values of R:4, G:15, B:236 and CMYK values of C:0.98, M:0.94, Y:0, K:0.07. Its decimal value is 266220.

Hex triplet 040fec #040fec
RGB Decimal 4, 15, 236 rgb(4,15,236)
RGB Percent 1.6, 5.9, 92.5 rgb(1.6%,5.9%,92.5%)
CMYK 98, 94, 0, 7
HSL 237.2°, 96.7, 47.1 hsl(237.2,96.7%,47.1%)
HSV (or HSB) 237.2°, 98.3, 92.5
Web Safe 0000ff #0000ff
CIE-LAB 30.454, 72.103, -100.214
XYZ 15.358, 6.422, 79.782
xyY 0.151, 0.063, 6.422
CIE-LCH 30.454, 123.457, 305.735
CIE-LUV 30.454, -9.042, -120.227
Hunter-Lab 25.342, 63.827, -168.916
Binary 00000100, 00001111, 11101100

Color Schemes with #040fec

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

Alternatives to #040fec

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

Similar Colors

#040fec Preview

Text with hexadecimal color #040fec

This text has a font color of #040fec.

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

This paragraph has a background color of #040fec.

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

This element has a border color of #040fec.

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

Shades and Tints of #040fec

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, #000005 is the darkest color, while #f0f1ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #040fec

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040fec 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
  • #252525 Achromatopsia 0.005% of the population
  • #1e214d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004f99 Protanopia 1% of men
  • #005383 Deuteranopia 1% of men
  • #00595c Tritanopia 0.001% of the population
Trichromacy
  • #0137b7 Protanomaly 1% of men, 0.01% of women
  • #013aa9 Deuteranomaly 6% of men, 0.4% of women
  • #013e90 Tritanomaly 0.01% of the population