#040157 Color Information

In a RGB color space, hex #040157 is composed of 1.6% red, 0.4% green and 34.1% blue. Whereas in a CMYK color space, it is composed of 95.4% cyan, 98.9% magenta, 0% yellow and 65.9% black. It has a hue angle of 242.1 degrees, a saturation of 97.7% and a lightness of 17.3%. #040157 color hex could be obtained by blending #0802ae with #000000. Closest websafe color is: #000066.

    • R 2
    • G 0
    • B 34
    RGB color chart
    • C 95
    • M 99
    • Y 0
    • K 66
    CMYK color chart

#040157 color description : Very dark blue.

#040157 Color Conversion

The hexadecimal color #040157 has RGB values of R:4, G:1, B:87 and CMYK values of C:0.95, M:0.99, Y:0, K:0.66. Its decimal value is 262487.

Hex triplet 040157 #040157
RGB Decimal 4, 1, 87 rgb(4,1,87)
RGB Percent 1.6, 0.4, 34.1 rgb(1.6%,0.4%,34.1%)
CMYK 95, 99, 0, 66
HSL 242.1°, 97.7, 17.3 hsl(242.1,97.7%,17.3%)
HSV (or HSB) 242.1°, 98.9, 34.1
Web Safe 000066 #000066
CIE-LAB 6.644, 35.199, -48.288
XYZ 1.781, 0.736, 9.064
xyY 0.154, 0.064, 0.736
CIE-LCH 6.644, 59.755, 306.09
CIE-LUV 6.644, -1.709, -26.159
Hunter-Lab 8.576, 22.058, -56.662
Binary 00000100, 00000001, 01010111

Color Schemes with #040157

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

Alternatives to #040157

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

Similar Colors

#040157 Preview

Text with hexadecimal color #040157

This text has a font color of #040157.

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

This paragraph has a background color of #040157.

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

This element has a border color of #040157.

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

Shades and Tints of #040157

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 #040157

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040157 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
  • #0c0c0c Achromatopsia 0.005% of the population
  • #0a0a1b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00203e Protanopia 1% of men
  • #002135 Deuteranopia 1% of men
  • #002425 Tritanopia 0.001% of the population
Trichromacy
  • #011447 Protanomaly 1% of men, 0.01% of women
  • #011541 Deuteranomaly 6% of men, 0.4% of women
  • #011737 Tritanomaly 0.01% of the population