#042a7f Color Information

In a RGB color space, hex #042a7f is composed of 1.6% red, 16.5% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 96.9% cyan, 66.9% magenta, 0% yellow and 50.2% black. It has a hue angle of 221.5 degrees, a saturation of 93.9% and a lightness of 25.7%. #042a7f color hex could be obtained by blending #0854fe with #000000. Closest websafe color is: #003366.

    • R 2
    • G 16
    • B 50
    RGB color chart
    • C 97
    • M 67
    • Y 0
    • K 50
    CMYK color chart

#042a7f color description : Dark blue.

#042a7f Color Conversion

The hexadecimal color #042a7f has RGB values of R:4, G:42, B:127 and CMYK values of C:0.97, M:0.67, Y:0, K:0.5. Its decimal value is 273023.

Hex triplet 042a7f #042a7f
RGB Decimal 4, 42, 127 rgb(4,42,127)
RGB Percent 1.6, 16.5, 49.8 rgb(1.6%,16.5%,49.8%)
CMYK 97, 67, 0, 50
HSL 221.5°, 93.9, 25.7 hsl(221.5,93.9%,25.7%)
HSV (or HSB) 221.5°, 96.9, 49.8
Web Safe 003366 #003366
CIE-LAB 20.88, 24.661, -50.949
XYZ 4.708, 3.214, 20.45
xyY 0.166, 0.113, 3.214
CIE-LCH 20.88, 56.604, 295.829
CIE-LUV 20.88, -8.964, -58.416
Hunter-Lab 17.927, 15.507, -55.086
Binary 00000100, 00101010, 01111111

Color Schemes with #042a7f

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

Alternatives to #042a7f

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

Similar Colors

#042a7f Preview

Text with hexadecimal color #042a7f

This text has a font color of #042a7f.

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

This paragraph has a background color of #042a7f.

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

This element has a border color of #042a7f.

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

Shades and Tints of #042a7f

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, #00040d is the darkest color, while #f9fbff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #042a7f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #042a7f 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
  • #282828 Achromatopsia 0.005% of the population
  • #212839 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003b73 Protanopia 1% of men
  • #003e64 Deuteranopia 1% of men
  • #004246 Tritanopia 0.001% of the population
Trichromacy
  • #013477 Protanomaly 1% of men, 0.01% of women
  • #01376d Deuteranomaly 6% of men, 0.4% of women
  • #01395a Tritanomaly 0.01% of the population