#040fa1 Color Information

In a RGB color space, hex #040fa1 is composed of 1.6% red, 5.9% green and 63.1% blue. Whereas in a CMYK color space, it is composed of 97.5% cyan, 90.7% magenta, 0% yellow and 36.9% black. It has a hue angle of 235.8 degrees, a saturation of 95.2% and a lightness of 32.4%. #040fa1 color hex could be obtained by blending #081eff with #000043. Closest websafe color is: #000099.

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

#040fa1 color description : Dark blue.

#040fa1 Color Conversion

The hexadecimal color #040fa1 has RGB values of R:4, G:15, B:161 and CMYK values of C:0.98, M:0.91, Y:0, K:0.37. Its decimal value is 266145.

Hex triplet 040fa1 #040fa1
RGB Decimal 4, 15, 161 rgb(4,15,161)
RGB Percent 1.6, 5.9, 63.1 rgb(1.6%,5.9%,63.1%)
CMYK 98, 91, 0, 37
HSL 235.8°, 95.2, 32.4 hsl(235.8,95.2%,32.4%)
HSV (or HSB) 235.8°, 97.5, 63.1
Web Safe 000099 #000099
CIE-LAB 19.803, 51.736, -73.869
XYZ 6.653, 2.94, 33.933
xyY 0.153, 0.068, 2.94
CIE-LCH 19.803, 90.184, 305.007
CIE-LUV 19.803, -6.026, -75.912
Hunter-Lab 17.147, 39.247, -105.33
Binary 00000100, 00001111, 10100001

Color Schemes with #040fa1

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

Alternatives to #040fa1

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

Similar Colors

#040fa1 Preview

Text with hexadecimal color #040fa1

This text has a font color of #040fa1.

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

This paragraph has a background color of #040fa1.

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

This element has a border color of #040fa1.

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

Shades and Tints of #040fa1

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

Shade Color Variation
Tint Color Variation

Tones of #040fa1

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040fa1 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
  • #1c1c1c Achromatopsia 0.005% of the population
  • #171937 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00396e Protanopia 1% of men
  • #003c5f Deuteranopia 1% of men
  • #004043 Tritanopia 0.001% of the population
Trichromacy
  • #012980 Protanomaly 1% of men, 0.01% of women
  • #012b77 Deuteranomaly 6% of men, 0.4% of women
  • #012e65 Tritanomaly 0.01% of the population