#040fef Color Information

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

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

#040fef color description : Vivid blue.

#040fef Color Conversion

The hexadecimal color #040fef has RGB values of R:4, G:15, B:239 and CMYK values of C:0.98, M:0.94, Y:0, K:0.06. Its decimal value is 266223.

Hex triplet 040fef #040fef
RGB Decimal 4, 15, 239 rgb(4,15,239)
RGB Percent 1.6, 5.9, 93.7 rgb(1.6%,5.9%,93.7%)
CMYK 98, 94, 0, 6
HSL 237.2°, 96.7, 47.6 hsl(237.2,96.7%,47.6%)
HSV (or HSB) 237.2°, 98.3, 93.7
Web Safe 0000ff #0000ff
CIE-LAB 30.874, 72.865, -101.217
XYZ 15.798, 6.598, 82.098
xyY 0.151, 0.063, 6.598
CIE-LCH 30.874, 124.717, 305.75
CIE-LUV 30.874, -9.162, -121.961
Hunter-Lab 25.687, 64.827, -171.515
Binary 00000100, 00001111, 11101111

Color Schemes with #040fef

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

Alternatives to #040fef

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

Similar Colors

#040fef Preview

Text with hexadecimal color #040fef

This text has a font color of #040fef.

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

This paragraph has a background color of #040fef.

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

This element has a border color of #040fef.

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

Shades and Tints of #040fef

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

Shade Color Variation
Tint Color Variation

Tones of #040fef

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040fef 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
  • #004f9a Protanopia 1% of men
  • #005485 Deuteranopia 1% of men
  • #005a5d Tritanopia 0.001% of the population
Trichromacy
  • #0138b9 Protanomaly 1% of men, 0.01% of women
  • #013bab Deuteranomaly 6% of men, 0.4% of women
  • #013f92 Tritanomaly 0.01% of the population