#040838 Color Information

In a RGB color space, hex #040838 is composed of 1.6% red, 3.1% green and 22% blue. Whereas in a CMYK color space, it is composed of 92.9% cyan, 85.7% magenta, 0% yellow and 78% black. It has a hue angle of 235.4 degrees, a saturation of 86.7% and a lightness of 11.8%. #040838 color hex could be obtained by blending #081070 with #000000. Closest websafe color is: #000033.

    • R 2
    • G 3
    • B 22
    RGB color chart
    • C 93
    • M 86
    • Y 0
    • K 78
    CMYK color chart

#040838 color description : Very dark blue.

#040838 Color Conversion

The hexadecimal color #040838 has RGB values of R:4, G:8, B:56 and CMYK values of C:0.93, M:0.86, Y:0, K:0.78. Its decimal value is 264248.

Hex triplet 040838 #040838
RGB Decimal 4, 8, 56 rgb(4,8,56)
RGB Percent 1.6, 3.1, 22 rgb(1.6%,3.1%,22%)
CMYK 93, 86, 0, 78
HSL 235.4°, 86.7, 11.8 hsl(235.4,86.7%,11.8%)
HSV (or HSB) 235.4°, 92.9, 22
Web Safe 000033 #000033
CIE-LAB 4.38, 15.96, -30.162
XYZ 0.851, 0.485, 3.79
xyY 0.166, 0.095, 0.485
CIE-LCH 4.38, 34.125, 297.885
CIE-LUV 4.38, -1.328, -13.921
Hunter-Lab 6.964, 9.616, -27.393
Binary 00000100, 00001000, 00111000

Color Schemes with #040838

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

Alternatives to #040838

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

Similar Colors

#040838 Preview

Text with hexadecimal color #040838

This text has a font color of #040838.

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

This paragraph has a background color of #040838.

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

This element has a border color of #040838.

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

Shades and Tints of #040838

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

Shade Color Variation
Tint Color Variation

Tones of #040838

A tone is produced by adding gray to any pure hue. In this case, #1d1d1f is the less saturated color, while #02063a is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040838 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
  • #0c0c0c Achromatopsia 0.005% of the population
  • #0a0b15 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #001a34 Protanopia 1% of men
  • #001c2d Deuteranopia 1% of men
  • #001e1f Tritanopia 0.001% of the population
Trichromacy
  • #011435 Protanomaly 1% of men, 0.01% of women
  • #011531 Deuteranomaly 6% of men, 0.4% of women
  • #011628 Tritanomaly 0.01% of the population