#040fb6 Color Information

In a RGB color space, hex #040fb6 is composed of 1.6% red, 5.9% green and 71.4% blue. Whereas in a CMYK color space, it is composed of 97.8% cyan, 91.8% magenta, 0% yellow and 28.6% black. It has a hue angle of 236.3 degrees, a saturation of 95.7% and a lightness of 36.5%. #040fb6 color hex could be obtained by blending #081eff with #00006d. Closest websafe color is: #0000cc.

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

#040fb6 color description : Strong blue.

#040fb6 Color Conversion

The hexadecimal color #040fb6 has RGB values of R:4, G:15, B:182 and CMYK values of C:0.98, M:0.92, Y:0, K:0.29. Its decimal value is 266166.

Hex triplet 040fb6 #040fb6
RGB Decimal 4, 15, 182 rgb(4,15,182)
RGB Percent 1.6, 5.9, 71.4 rgb(1.6%,5.9%,71.4%)
CMYK 98, 92, 0, 29
HSL 236.3°, 95.7, 36.5 hsl(236.3,95.7%,36.5%)
HSV (or HSB) 236.3°, 97.8, 71.4
Web Safe 0000cc #0000cc
CIE-LAB 22.807, 57.742, -81.535
XYZ 8.663, 3.744, 44.52
xyY 0.152, 0.066, 3.744
CIE-LCH 22.807, 99.91, 305.306
CIE-LUV 22.807, -6.871, -88.495
Hunter-Lab 19.35, 46.05, -122.868
Binary 00000100, 00001111, 10110110

Color Schemes with #040fb6

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

Alternatives to #040fb6

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

Similar Colors

#040fb6 Preview

Text with hexadecimal color #040fb6

This text has a font color of #040fb6.

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

This paragraph has a background color of #040fb6.

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

This element has a border color of #040fb6.

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

Shades and Tints of #040fb6

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

Shade Color Variation
Tint Color Variation

Tones of #040fb6

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040fb6 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
  • #1f1f1f Achromatopsia 0.005% of the population
  • #1a1c3d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003f7a Protanopia 1% of men
  • #004269 Deuteranopia 1% of men
  • #00474a Tritanopia 0.001% of the population
Trichromacy
  • #012d8f Protanomaly 1% of men, 0.01% of women
  • #013085 Deuteranomaly 6% of men, 0.4% of women
  • #013271 Tritanomaly 0.01% of the population