#040fb1 Color Information

In a RGB color space, hex #040fb1 is composed of 1.6% red, 5.9% green and 69.4% blue. Whereas in a CMYK color space, it is composed of 97.7% cyan, 91.5% magenta, 0% yellow and 30.6% black. It has a hue angle of 236.2 degrees, a saturation of 95.6% and a lightness of 35.5%. #040fb1 color hex could be obtained by blending #081eff with #000063. Closest websafe color is: #000099.

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

#040fb1 color description : Dark blue.

#040fb1 Color Conversion

The hexadecimal color #040fb1 has RGB values of R:4, G:15, B:177 and CMYK values of C:0.98, M:0.92, Y:0, K:0.31. Its decimal value is 266161.

Hex triplet 040fb1 #040fb1
RGB Decimal 4, 15, 177 rgb(4,15,177)
RGB Percent 1.6, 5.9, 69.4 rgb(1.6%,5.9%,69.4%)
CMYK 98, 92, 0, 31
HSL 236.2°, 95.6, 35.5 hsl(236.2,95.6%,35.5%)
HSV (or HSB) 236.2°, 97.7, 69.4
Web Safe 000099 #000099
CIE-LAB 22.092, 56.338, -79.734
XYZ 8.155, 3.541, 41.846
xyY 0.152, 0.066, 3.541
CIE-LCH 22.092, 97.629, 305.244
CIE-LUV 22.092, -6.669, -85.51
Hunter-Lab 18.818, 44.425, -118.673
Binary 00000100, 00001111, 10110001

Color Schemes with #040fb1

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

Alternatives to #040fb1

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

Similar Colors

#040fb1 Preview

Text with hexadecimal color #040fb1

This text has a font color of #040fb1.

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

This paragraph has a background color of #040fb1.

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

This element has a border color of #040fb1.

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

Shades and Tints of #040fb1

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

Shade Color Variation
Tint Color Variation

Tones of #040fb1

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040fb1 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
  • #003d77 Protanopia 1% of men
  • #004166 Deuteranopia 1% of men
  • #004548 Tritanopia 0.001% of the population
Trichromacy
  • #012c8c Protanomaly 1% of men, 0.01% of women
  • #012f81 Deuteranomaly 6% of men, 0.4% of women
  • #01316e Tritanomaly 0.01% of the population