#040f7b Color Information

In a RGB color space, hex #040f7b is composed of 1.6% red, 5.9% green and 48.2% blue. Whereas in a CMYK color space, it is composed of 96.7% cyan, 87.8% magenta, 0% yellow and 51.8% black. It has a hue angle of 234.5 degrees, a saturation of 93.7% and a lightness of 24.9%. #040f7b color hex could be obtained by blending #081ef6 with #000000. Closest websafe color is: #000066.

    • R 2
    • G 6
    • B 48
    RGB color chart
    • C 97
    • M 88
    • Y 0
    • K 52
    CMYK color chart

#040f7b color description : Dark blue.

#040f7b Color Conversion

The hexadecimal color #040f7b has RGB values of R:4, G:15, B:123 and CMYK values of C:0.97, M:0.88, Y:0, K:0.52. Its decimal value is 266107.

Hex triplet 040f7b #040f7b
RGB Decimal 4, 15, 123 rgb(4,15,123)
RGB Percent 1.6, 5.9, 48.2 rgb(1.6%,5.9%,48.2%)
CMYK 97, 88, 0, 52
HSL 234.5°, 93.7, 24.9 hsl(234.5,93.7%,24.9%)
HSV (or HSB) 234.5°, 96.7, 48.2
Web Safe 000066 #000066
CIE-LAB 14.385, 39.93, -59.148
XYZ 3.795, 1.797, 18.885
xyY 0.155, 0.073, 1.797
CIE-LCH 14.385, 71.364, 304.023
CIE-LUV 14.385, -4.517, -52.975
Hunter-Lab 13.406, 27.074, -74.136
Binary 00000100, 00001111, 01111011

Color Schemes with #040f7b

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

Alternatives to #040f7b

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

Similar Colors

#040f7b Preview

Text with hexadecimal color #040f7b

This text has a font color of #040f7b.

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

This paragraph has a background color of #040f7b.

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

This element has a border color of #040f7b.

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

Shades and Tints of #040f7b

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

Shade Color Variation
Tint Color Variation

Tones of #040f7b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f7b 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
  • #181818 Achromatopsia 0.005% of the population
  • #14162c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #002e5a Protanopia 1% of men
  • #00314d Deuteranopia 1% of men
  • #003436 Tritanopia 0.001% of the population
Trichromacy
  • #012366 Protanomaly 1% of men, 0.01% of women
  • #01245e Deuteranomaly 6% of men, 0.4% of women
  • #01264f Tritanomaly 0.01% of the population