#042f8b Color Information

In a RGB color space, hex #042f8b is composed of 1.6% red, 18.4% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 97.1% cyan, 66.2% magenta, 0% yellow and 45.5% black. It has a hue angle of 220.9 degrees, a saturation of 94.4% and a lightness of 28%. #042f8b color hex could be obtained by blending #085eff with #000017. Closest websafe color is: #003399.

    • R 2
    • G 18
    • B 55
    RGB color chart
    • C 97
    • M 66
    • Y 0
    • K 45
    CMYK color chart

#042f8b color description : Dark blue.

#042f8b Color Conversion

The hexadecimal color #042f8b has RGB values of R:4, G:47, B:139 and CMYK values of C:0.97, M:0.66, Y:0, K:0.45. Its decimal value is 274315.

Hex triplet 042f8b #042f8b
RGB Decimal 4, 47, 139 rgb(4,47,139)
RGB Percent 1.6, 18.4, 54.5 rgb(1.6%,18.4%,54.5%)
CMYK 97, 66, 0, 45
HSL 220.9°, 94.4, 28 hsl(220.9,94.4%,28%)
HSV (or HSB) 220.9°, 97.1, 54.5
Web Safe 003399 #003399
CIE-LAB 23.413, 26.121, -54.318
XYZ 5.726, 3.922, 24.88
xyY 0.166, 0.114, 3.922
CIE-LCH 23.413, 60.272, 295.682
CIE-LUV 23.413, -10.138, -65.36
Hunter-Lab 19.805, 16.947, -60.619
Binary 00000100, 00101111, 10001011

Color Schemes with #042f8b

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

Alternatives to #042f8b

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

Similar Colors

#042f8b Preview

Text with hexadecimal color #042f8b

This text has a font color of #042f8b.

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

This paragraph has a background color of #042f8b.

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

This element has a border color of #042f8b.

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

Shades and Tints of #042f8b

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

Shade Color Variation
Tint Color Variation

Tones of #042f8b

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

Tone Color Variation

Color Blindness Simulator

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

  • #2d2d2d Achromatopsia 0.005% of the population
  • #252d40 Atypical Achromatopsia 0.001% of the population
  • #00407d Protanopia 1% of men
  • #00436c Deuteranopia 1% of men
  • #00484c Tritanopia 0.001% of the population
  • #013982 Protanomaly 1% of men, 0.01% of women
  • #013c77 Deuteranomaly 6% of men, 0.4% of women
  • #013f63 Tritanomaly 0.01% of the population