#040caf Color Information

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

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

#040caf color description : Dark blue.

#040caf Color Conversion

The hexadecimal color #040caf has RGB values of R:4, G:12, B:175 and CMYK values of C:0.98, M:0.93, Y:0, K:0.31. Its decimal value is 265391.

Hex triplet 040caf #040caf
RGB Decimal 4, 12, 175 rgb(4,12,175)
RGB Percent 1.6, 4.7, 68.6 rgb(1.6%,4.7%,68.6%)
CMYK 98, 93, 0, 31
HSL 237.2°, 95.5, 35.1 hsl(237.2,95.5%,35.1%)
HSV (or HSB) 237.2°, 97.7, 68.6
Web Safe 000099 #000099
CIE-LAB 21.518, 56.656, -79.492
XYZ 7.918, 3.383, 40.791
xyY 0.152, 0.065, 3.383
CIE-LCH 21.518, 97.615, 305.478
CIE-LUV 21.518, -6.405, -83.96
Hunter-Lab 18.394, 44.649, -118.609
Binary 00000100, 00001100, 10101111

Color Schemes with #040caf

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

Alternatives to #040caf

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

Similar Colors

#040caf Preview

Text with hexadecimal color #040caf

This text has a font color of #040caf.

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

This paragraph has a background color of #040caf.

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

This element has a border color of #040caf.

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

Shades and Tints of #040caf

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

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

Tone Color Variation

Color Blindness Simulator

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

  • #1c1c1c Achromatopsia 0.005% of the population
  • #171939 Atypical Achromatopsia 0.001% of the population
  • #003c75 Protanopia 1% of men
  • #004064 Deuteranopia 1% of men
  • #004447 Tritanopia 0.001% of the population
  • #012a8a Protanomaly 1% of men, 0.01% of women
  • #012d7f Deuteranomaly 6% of men, 0.4% of women
  • #012f6c Tritanomaly 0.01% of the population