#04007f Color Information

In a RGB color space, hex #04007f is composed of 1.6% red, 0% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 96.9% cyan, 100% magenta, 0% yellow and 50.2% black. It has a hue angle of 241.9 degrees, a saturation of 100% and a lightness of 24.9%. #04007f color hex could be obtained by blending #0800fe with #000000. Closest websafe color is: #000066.

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

#04007f color description : Dark blue.

#04007f Color Conversion

The hexadecimal color #04007f has RGB values of R:4, G:0, B:127 and CMYK values of C:0.97, M:1, Y:0, K:0.5. Its decimal value is 262271.

Hex triplet 04007f #04007f
RGB Decimal 4, 0, 127 rgb(4,0,127)
RGB Percent 1.6, 0, 49.8 rgb(1.6%,0%,49.8%)
CMYK 97, 100, 0, 50
HSL 241.9°, 100, 24.9 hsl(241.9,100%,24.9%)
HSV (or HSB) 241.9°, 100, 49.8
Web Safe 000066 #000066
CIE-LAB 12.971, 47.287, -64.068
XYZ 3.88, 1.558, 20.174
xyY 0.151, 0.061, 1.558
CIE-LCH 12.971, 79.629, 306.43
CIE-LUV 12.971, -3.542, -52.036
Hunter-Lab 12.481, 33.648, -87.095
Binary 00000100, 00000000, 01111111

Color Schemes with #04007f

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

Alternatives to #04007f

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

Similar Colors

#04007f Preview

Text with hexadecimal color #04007f

This text has a font color of #04007f.

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

This paragraph has a background color of #04007f.

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

This element has a border color of #04007f.

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

Shades and Tints of #04007f

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

Shade Color Variation
Tint Color Variation

Tones of #04007f

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

Tone Color Variation

Color Blindness Simulator

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

  • #101010 Achromatopsia 0.005% of the population
  • #0e0d26 Atypical Achromatopsia 0.001% of the population
  • #002b54 Protanopia 1% of men
  • #002e48 Deuteranopia 1% of men
  • #003133 Tritanopia 0.001% of the population
  • #011b64 Protanomaly 1% of men, 0.01% of women
  • #011d5c Deuteranomaly 6% of men, 0.4% of women
  • #011f4e Tritanomaly 0.01% of the population