#040faf Color Information

In a RGB color space, hex #040faf is composed of 1.6% red, 5.9% green and 68.6% blue. Whereas in a CMYK color space, it is composed of 97.7% cyan, 91.4% magenta, 0% yellow and 31.4% black. It has a hue angle of 236.1 degrees, a saturation of 95.5% and a lightness of 35.1%. #040faf color hex could be obtained by blending #081eff with #00005f. Closest websafe color is: #000099.

    • R 2
    • G 6
    • B 69
    RGB color chart
    • C 98
    • M 91
    • Y 0
    • K 31
    CMYK color chart

#040faf color description : Dark blue.

#040faf Color Conversion

The hexadecimal color #040faf has RGB values of R:4, G:15, B:175 and CMYK values of C:0.98, M:0.91, Y:0, K:0.31. Its decimal value is 266159.

Hex triplet 040faf #040faf
RGB Decimal 4, 15, 175 rgb(4,15,175)
RGB Percent 1.6, 5.9, 68.6 rgb(1.6%,5.9%,68.6%)
CMYK 98, 91, 0, 31
HSL 236.1°, 95.5, 35.1 hsl(236.1,95.5%,35.1%)
HSV (or HSB) 236.1°, 97.7, 68.6
Web Safe 000099 #000099
CIE-LAB 21.806, 55.772, -79.009
XYZ 7.957, 3.462, 40.804
xyY 0.152, 0.066, 3.462
CIE-LCH 21.806, 96.711, 305.218
CIE-LUV 21.806, -6.589, -84.314
Hunter-Lab 18.606, 43.776, -116.999
Binary 00000100, 00001111, 10101111

Color Schemes with #040faf

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

Alternatives to #040faf

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

Similar Colors

#040faf Preview

Text with hexadecimal color #040faf

This text has a font color of #040faf.

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

This paragraph has a background color of #040faf.

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

This element has a border color of #040faf.

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

Shades and Tints of #040faf

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

Shade Color Variation
Tint Color Variation

Tones of #040faf

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040faf 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
  • #1e1e1e Achromatopsia 0.005% of the population
  • #191b3b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003d76 Protanopia 1% of men
  • #004065 Deuteranopia 1% of men
  • #004547 Tritanopia 0.001% of the population
Trichromacy
  • #012c8a Protanomaly 1% of men, 0.01% of women
  • #012e80 Deuteranomaly 6% of men, 0.4% of women
  • #01316d Tritanomaly 0.01% of the population