#040fb8 Color Information

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

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

#040fb8 color description : Strong blue.

#040fb8 Color Conversion

The hexadecimal color #040fb8 has RGB values of R:4, G:15, B:184 and CMYK values of C:0.98, M:0.92, Y:0, K:0.28. Its decimal value is 266168.

Hex triplet 040fb8 #040fb8
RGB Decimal 4, 15, 184 rgb(4,15,184)
RGB Percent 1.6, 5.9, 72.2 rgb(1.6%,5.9%,72.2%)
CMYK 98, 92, 0, 28
HSL 236.3°, 95.7, 36.9 hsl(236.3,95.7%,36.9%)
HSV (or HSB) 236.3°, 97.8, 72.2
Web Safe 0000cc #0000cc
CIE-LAB 23.093, 58.299, -82.251
XYZ 8.871, 3.827, 45.616
xyY 0.152, 0.066, 3.827
CIE-LCH 23.093, 100.817, 305.329
CIE-LUV 23.093, -6.952, -89.688
Hunter-Lab 19.564, 46.701, -124.549
Binary 00000100, 00001111, 10111000

Color Schemes with #040fb8

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

Alternatives to #040fb8

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

Similar Colors

#040fb8 Preview

Text with hexadecimal color #040fb8

This text has a font color of #040fb8.

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

This paragraph has a background color of #040fb8.

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

This element has a border color of #040fb8.

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

Shades and Tints of #040fb8

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

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040fb8 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.

  • #1f1f1f Achromatopsia 0.005% of the population
  • #1a1c3e Atypical Achromatopsia 0.001% of the population
  • #003f7b Protanopia 1% of men
  • #00436a Deuteranopia 1% of men
  • #00484a Tritanopia 0.001% of the population
  • #012d91 Protanomaly 1% of men, 0.01% of women
  • #013086 Deuteranomaly 6% of men, 0.4% of women
  • #013372 Tritanomaly 0.01% of the population