#040cb8 Color Information

In a RGB color space, hex #040cb8 is composed of 1.6% red, 4.7% green and 72.2% blue. Whereas in a CMYK color space, it is composed of 97.8% cyan, 93.5% magenta, 0% yellow and 27.8% black. It has a hue angle of 237.3 degrees, a saturation of 95.7% and a lightness of 36.9%. #040cb8 color hex could be obtained by blending #0818ff with #000071. Closest websafe color is: #0000cc.

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

#040cb8 color description : Strong blue.

#040cb8 Color Conversion

The hexadecimal color #040cb8 has RGB values of R:4, G:12, B:184 and CMYK values of C:0.98, M:0.93, Y:0, K:0.28. Its decimal value is 265400.

Hex triplet 040cb8 #040cb8
RGB Decimal 4, 12, 184 rgb(4,12,184)
RGB Percent 1.6, 4.7, 72.2 rgb(1.6%,4.7%,72.2%)
CMYK 98, 93, 0, 28
HSL 237.3°, 95.7, 36.9 hsl(237.3,95.7%,36.9%)
HSV (or HSB) 237.3°, 97.8, 72.2
Web Safe 0000cc #0000cc
CIE-LAB 22.823, 59.126, -82.702
XYZ 8.832, 3.749, 45.603
xyY 0.152, 0.064, 3.749
CIE-LCH 22.823, 101.664, 305.562
CIE-LUV 22.823, -6.778, -89.367
Hunter-Lab 19.362, 47.537, -126.093
Binary 00000100, 00001100, 10111000

Color Schemes with #040cb8

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

Alternatives to #040cb8

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

Similar Colors

#040cb8 Preview

Text with hexadecimal color #040cb8

This text has a font color of #040cb8.

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

This paragraph has a background color of #040cb8.

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

This element has a border color of #040cb8.

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

Shades and Tints of #040cb8

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

Shade Color Variation
Tint Color Variation

Tones of #040cb8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040cb8 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
  • #1d1d1d Achromatopsia 0.005% of the population
  • #181a3c 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
  • #012c90 Protanomaly 1% of men, 0.01% of women
  • #012e85 Deuteranomaly 6% of men, 0.4% of women
  • #013172 Tritanomaly 0.01% of the population