#040cfb Color Information

In a RGB color space, hex #040cfb is composed of 1.6% red, 4.7% green and 98.4% blue. Whereas in a CMYK color space, it is composed of 98.4% cyan, 95.2% magenta, 0% yellow and 1.6% black. It has a hue angle of 238.1 degrees, a saturation of 96.9% and a lightness of 50%. #040cfb color hex could be obtained by blending #0818ff with #0000f7. Closest websafe color is: #0000ff.

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

#040cfb color description : Vivid blue.

#040cfb Color Conversion

The hexadecimal color #040cfb has RGB values of R:4, G:12, B:251 and CMYK values of C:0.98, M:0.95, Y:0, K:0.02. Its decimal value is 265467.

Hex triplet 040cfb #040cfb
RGB Decimal 4, 12, 251 rgb(4,12,251)
RGB Percent 1.6, 4.7, 98.4 rgb(1.6%,4.7%,98.4%)
CMYK 98, 95, 0, 2
HSL 238.1°, 96.9, 50 hsl(238.1,96.9%,50%)
HSV (or HSB) 238.1°, 98.4, 98.4
Web Safe 0000ff #0000ff
CIE-LAB 32.375, 76.427, -105.49
XYZ 17.591, 7.252, 91.734
xyY 0.151, 0.062, 7.252
CIE-LCH 32.375, 130.266, 305.923
CIE-LUV 32.375, -9.522, -128.702
Hunter-Lab 26.93, 69.467, -183.112
Binary 00000100, 00001100, 11111011

Color Schemes with #040cfb

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

Alternatives to #040cfb

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

Similar Colors

#040cfb Preview

Text with hexadecimal color #040cfb

This text has a font color of #040cfb.

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

This paragraph has a background color of #040cfb.

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

This element has a border color of #040cfb.

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

Shades and Tints of #040cfb

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

Shade Color Variation
Tint Color Variation

Tones of #040cfb

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040cfb 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
  • #1e2050 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0053a0 Protanopia 1% of men
  • #00588a Deuteranopia 1% of men
  • #005e61 Tritanopia 0.001% of the population
Trichromacy
  • #0139c1 Protanomaly 1% of men, 0.01% of women
  • #013cb3 Deuteranomaly 6% of men, 0.4% of women
  • #014099 Tritanomaly 0.01% of the population