#040cec Color Information

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

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

#040cec color description : Vivid blue.

#040cec Color Conversion

The hexadecimal color #040cec has RGB values of R:4, G:12, B:236 and CMYK values of C:0.98, M:0.95, Y:0, K:0.07. Its decimal value is 265452.

Hex triplet 040cec #040cec
RGB Decimal 4, 12, 236 rgb(4,12,236)
RGB Percent 1.6, 4.7, 92.5 rgb(1.6%,4.7%,92.5%)
CMYK 98, 95, 0, 7
HSL 237.9°, 96.7, 47.1 hsl(237.9,96.7%,47.1%)
HSV (or HSB) 237.9°, 98.3, 92.5
Web Safe 0000ff #0000ff
CIE-LAB 30.263, 72.691, -100.532
XYZ 15.319, 6.344, 79.769
xyY 0.151, 0.063, 6.344
CIE-LCH 30.263, 124.059, 305.869
CIE-LUV 30.263, -8.914, -120.039
Hunter-Lab 25.187, 64.489, -170.148
Binary 00000100, 00001100, 11101100

Color Schemes with #040cec

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

Alternatives to #040cec

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

Similar Colors

#040cec Preview

Text with hexadecimal color #040cec

This text has a font color of #040cec.

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

This paragraph has a background color of #040cec.

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

This element has a border color of #040cec.

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

Shades and Tints of #040cec

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

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040cec 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
  • #1d1e4b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004e98 Protanopia 1% of men
  • #005383 Deuteranopia 1% of men
  • #00585c Tritanopia 0.001% of the population
Trichromacy
  • #0136b6 Protanomaly 1% of men, 0.01% of women
  • #0139a9 Deuteranomaly 6% of men, 0.4% of women
  • #013c90 Tritanomaly 0.01% of the population