#040cef Color Information

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

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

#040cef color description : Vivid blue.

#040cef Color Conversion

The hexadecimal color #040cef has RGB values of R:4, G:12, B:239 and CMYK values of C:0.98, M:0.95, Y:0, K:0.06. Its decimal value is 265455.

Hex triplet 040cef #040cef
RGB Decimal 4, 12, 239 rgb(4,12,239)
RGB Percent 1.6, 4.7, 93.7 rgb(1.6%,4.7%,93.7%)
CMYK 98, 95, 0, 6
HSL 238°, 96.7, 47.6 hsl(238,96.7%,47.6%)
HSV (or HSB) 238°, 98.3, 93.7
Web Safe 0000ff #0000ff
CIE-LAB 30.687, 73.444, -101.53
XYZ 15.758, 6.519, 82.084
xyY 0.151, 0.062, 6.519
CIE-LCH 30.687, 125.309, 305.881
CIE-LUV 30.687, -9.036, -121.778
Hunter-Lab 25.533, 65.482, -172.732
Binary 00000100, 00001100, 11101111

Color Schemes with #040cef

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

Alternatives to #040cef

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

Similar Colors

#040cef Preview

Text with hexadecimal color #040cef

This text has a font color of #040cef.

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

This paragraph has a background color of #040cef.

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

This element has a border color of #040cef.

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

Shades and Tints of #040cef

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 #040cef

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040cef 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
  • #232323 Achromatopsia 0.005% of the population
  • #1d1e4c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004f99 Protanopia 1% of men
  • #005484 Deuteranopia 1% of men
  • #00595d Tritanopia 0.001% of the population
Trichromacy
  • #0136b8 Protanomaly 1% of men, 0.01% of women
  • #0139ab Deuteranomaly 6% of men, 0.4% of women
  • #013d92 Tritanomaly 0.01% of the population