#040cf4 Color Information

In a RGB color space, hex #040cf4 is composed of 1.6% red, 4.7% green and 95.7% blue. Whereas in a CMYK color space, it is composed of 98.4% cyan, 95.1% magenta, 0% yellow and 4.3% black. It has a hue angle of 238 degrees, a saturation of 96.8% and a lightness of 48.6%. #040cf4 color hex could be obtained by blending #0818ff with #0000e9. Closest websafe color is: #0000ff.

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

#040cf4 color description : Vivid blue.

#040cf4 Color Conversion

The hexadecimal color #040cf4 has RGB values of R:4, G:12, B:244 and CMYK values of C:0.98, M:0.95, Y:0, K:0.04. Its decimal value is 265460.

Hex triplet 040cf4 #040cf4
RGB Decimal 4, 12, 244 rgb(4,12,244)
RGB Percent 1.6, 4.7, 95.7 rgb(1.6%,4.7%,95.7%)
CMYK 98, 95, 0, 4
HSL 238°, 96.8, 48.6 hsl(238,96.8%,48.6%)
HSV (or HSB) 238°, 98.4, 95.7
Web Safe 0000ff #0000ff
CIE-LAB 31.391, 74.692, -103.186
XYZ 16.507, 6.819, 86.029
xyY 0.151, 0.062, 6.819
CIE-LCH 31.391, 127.382, 305.899
CIE-LUV 31.391, -9.239, -124.669
Hunter-Lab 26.113, 67.139, -177.048
Binary 00000100, 00001100, 11110100

Color Schemes with #040cf4

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

Alternatives to #040cf4

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

Similar Colors

#040cf4 Preview

Text with hexadecimal color #040cf4

This text has a font color of #040cf4.

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

This paragraph has a background color of #040cf4.

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

This element has a border color of #040cf4.

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

Shades and Tints of #040cf4

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, #00010c is the darkest color, while #f8f8ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #040cf4

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040cf4 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
  • #242424 Achromatopsia 0.005% of the population
  • #1e1f4e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00519c Protanopia 1% of men
  • #005587 Deuteranopia 1% of men
  • #005b5f Tritanopia 0.001% of the population
Trichromacy
  • #0137bc Protanomaly 1% of men, 0.01% of women
  • #013bae Deuteranomaly 6% of men, 0.4% of women
  • #013e95 Tritanomaly 0.01% of the population