#042540 Color Information

In a RGB color space, hex #042540 is composed of 1.6% red, 14.5% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 93.8% cyan, 42.2% magenta, 0% yellow and 74.9% black. It has a hue angle of 207 degrees, a saturation of 88.2% and a lightness of 13.3%. #042540 color hex could be obtained by blending #084a80 with #000000. Closest websafe color is: #003333.

    • R 2
    • G 15
    • B 25
    RGB color chart
    • C 94
    • M 42
    • Y 0
    • K 75
    CMYK color chart

#042540 color description : Very dark blue.

#042540 Color Conversion

The hexadecimal color #042540 has RGB values of R:4, G:37, B:64 and CMYK values of C:0.94, M:0.42, Y:0, K:0.75. Its decimal value is 271680.

Hex triplet 042540 #042540
RGB Decimal 4, 37, 64 rgb(4,37,64)
RGB Percent 1.6, 14.5, 25.1 rgb(1.6%,14.5%,25.1%)
CMYK 94, 42, 0, 75
HSL 207°, 88.2, 13.3 hsl(207,88.2%,13.3%)
HSV (or HSB) 207°, 93.8, 25.1
Web Safe 003333 #003333
CIE-LAB 13.937, 0.079, -20.458
XYZ 1.637, 1.719, 5.096
xyY 0.194, 0.203, 1.719
CIE-LCH 13.937, 20.458, 270.221
CIE-LUV 13.937, -8.07, -19.223
Hunter-Lab 13.111, -0.659, -13.866
Binary 00000100, 00100101, 01000000

Color Schemes with #042540

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

Alternatives to #042540

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

Similar Colors

#042540 Preview

Text with hexadecimal color #042540

This text has a font color of #042540.

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

This paragraph has a background color of #042540.

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

This element has a border color of #042540.

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

Shades and Tints of #042540

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

Shade Color Variation
Tint Color Variation

Tones of #042540

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #042540 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
  • #191f25 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #232e48 Protanopia 1% of men
  • #1a2f4a Deuteranopia 1% of men
  • #003336 Tritanopia 0.001% of the population
Trichromacy
  • #182a45 Protanomaly 1% of men, 0.01% of women
  • #122b46 Deuteranomaly 6% of men, 0.4% of women
  • #012e3a Tritanomaly 0.01% of the population