#04207f Color Information

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

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

#04207f color description : Dark blue.

#04207f Color Conversion

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

Hex triplet 04207f #04207f
RGB Decimal 4, 32, 127 rgb(4,32,127)
RGB Percent 1.6, 12.5, 49.8 rgb(1.6%,12.5%,49.8%)
CMYK 97, 75, 0, 50
HSL 226.3°, 93.9, 25.7 hsl(226.3,93.9%,25.7%)
HSV (or HSB) 226.3°, 96.9, 49.8
Web Safe 003366 #003366
CIE-LAB 18.324, 31.535, -55.161
XYZ 4.397, 2.591, 20.346
xyY 0.161, 0.095, 2.591
CIE-LCH 18.324, 63.539, 299.756
CIE-LUV 18.324, -6.961, -58.308
Hunter-Lab 16.096, 20.589, -63.678
Binary 00000100, 00100000, 01111111

Color Schemes with #04207f

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

Alternatives to #04207f

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

Similar Colors

#04207f Preview

Text with hexadecimal color #04207f

This text has a font color of #04207f.

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

This paragraph has a background color of #04207f.

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

This element has a border color of #04207f.

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

Shades and Tints of #04207f

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

Shade Color Variation
Tint Color Variation

Tones of #04207f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #04207f 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
  • #222222 Achromatopsia 0.005% of the population
  • #1c2235 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003669 Protanopia 1% of men
  • #00395a Deuteranopia 1% of men
  • #003d3f Tritanopia 0.001% of the population
Trichromacy
  • #012e71 Protanomaly 1% of men, 0.01% of women
  • #013068 Deuteranomaly 6% of men, 0.4% of women
  • #013256 Tritanomaly 0.01% of the population