#040f27 Color Information

In a RGB color space, hex #040f27 is composed of 1.6% red, 5.9% green and 15.3% blue. Whereas in a CMYK color space, it is composed of 89.7% cyan, 61.5% magenta, 0% yellow and 84.7% black. It has a hue angle of 221.1 degrees, a saturation of 81.4% and a lightness of 8.4%. #040f27 color hex could be obtained by blending #081e4e with #000000. Closest websafe color is: #000033.

    • R 2
    • G 6
    • B 15
    RGB color chart
    • C 90
    • M 62
    • Y 0
    • K 85
    CMYK color chart

#040f27 color description : Very dark (mostly black) blue.

#040f27 Color Conversion

The hexadecimal color #040f27 has RGB values of R:4, G:15, B:39 and CMYK values of C:0.9, M:0.62, Y:0, K:0.85. Its decimal value is 266023.

Hex triplet 040f27 #040f27
RGB Decimal 4, 15, 39 rgb(4,15,39)
RGB Percent 1.6, 5.9, 15.3 rgb(1.6%,5.9%,15.3%)
CMYK 90, 62, 0, 85
HSL 221.1°, 81.4, 8.4 hsl(221.1,81.4%,8.4%)
HSV (or HSB) 221.1°, 89.7, 15.3
Web Safe 000033 #000033
CIE-LAB 4.642, 4.038, -17.071
XYZ 0.587, 0.514, 1.988
xyY 0.19, 0.166, 0.514
CIE-LCH 4.642, 17.542, 283.308
CIE-LUV 4.642, -2.001, -8.687
Hunter-Lab 7.169, 2.072, -11.421
Binary 00000100, 00001111, 00100111

Color Schemes with #040f27

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

Alternatives to #040f27

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

Similar Colors

#040f27 Preview

Text with hexadecimal color #040f27

This text has a font color of #040f27.

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

This paragraph has a background color of #040f27.

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

This element has a border color of #040f27.

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

Shades and Tints of #040f27

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

Shade Color Variation
Tint Color Variation

Tones of #040f27

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

Tone Color Variation

Color Blindness Simulator

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

  • #0e0e0e Achromatopsia 0.005% of the population
  • #0c0e13 Atypical Achromatopsia 0.001% of the population
  • #0e1b32 Protanopia 1% of men
  • #001c2f Deuteranopia 1% of men
  • #001f21 Tritanopia 0.001% of the population
  • #0a172e Protanomaly 1% of men, 0.01% of women
  • #01172c Deuteranomaly 6% of men, 0.4% of women
  • #011923 Tritanomaly 0.01% of the population