#040fba Color Information

In a RGB color space, hex #040fba is composed of 1.6% red, 5.9% green and 72.9% blue. Whereas in a CMYK color space, it is composed of 97.8% cyan, 91.9% magenta, 0% yellow and 27.1% black. It has a hue angle of 236.4 degrees, a saturation of 95.8% and a lightness of 37.3%. #040fba color hex could be obtained by blending #081eff with #000075. Closest websafe color is: #0000cc.

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

#040fba color description : Strong blue.

#040fba Color Conversion

The hexadecimal color #040fba has RGB values of R:4, G:15, B:186 and CMYK values of C:0.98, M:0.92, Y:0, K:0.27. Its decimal value is 266170.

Hex triplet 040fba #040fba
RGB Decimal 4, 15, 186 rgb(4,15,186)
RGB Percent 1.6, 5.9, 72.9 rgb(1.6%,5.9%,72.9%)
CMYK 98, 92, 0, 27
HSL 236.4°, 95.8, 37.3 hsl(236.4,95.8%,37.3%)
HSV (or HSB) 236.4°, 97.8, 72.9
Web Safe 0000cc #0000cc
CIE-LAB 23.378, 58.854, -82.965
XYZ 9.082, 3.912, 46.728
xyY 0.152, 0.066, 3.912
CIE-LCH 23.378, 101.72, 305.351
CIE-LUV 23.378, -7.032, -90.878
Hunter-Lab 19.779, 47.352, -126.231
Binary 00000100, 00001111, 10111010

Color Schemes with #040fba

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

Alternatives to #040fba

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

Similar Colors

#040fba Preview

Text with hexadecimal color #040fba

This text has a font color of #040fba.

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

This paragraph has a background color of #040fba.

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

This element has a border color of #040fba.

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

Shades and Tints of #040fba

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

Shade Color Variation
Tint Color Variation

Tones of #040fba

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040fba 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
  • #00407c Protanopia 1% of men
  • #00446b Deuteranopia 1% of men
  • #00484b Tritanopia 0.001% of the population
  • #012e92 Protanomaly 1% of men, 0.01% of women
  • #013087 Deuteranomaly 6% of men, 0.4% of women
  • #013373 Tritanomaly 0.01% of the population