#040baf Color Information

In a RGB color space, hex #040baf is composed of 1.6% red, 4.3% green and 68.6% blue. Whereas in a CMYK color space, it is composed of 97.7% cyan, 93.7% magenta, 0% yellow and 31.4% black. It has a hue angle of 237.5 degrees, a saturation of 95.5% and a lightness of 35.1%. #040baf color hex could be obtained by blending #0816ff with #00005f. Closest websafe color is: #000099.

    • R 2
    • G 4
    • B 69
    RGB color chart
    • C 98
    • M 94
    • Y 0
    • K 31
    CMYK color chart

#040baf color description : Dark blue.

#040baf Color Conversion

The hexadecimal color #040baf has RGB values of R:4, G:11, B:175 and CMYK values of C:0.98, M:0.94, Y:0, K:0.31. Its decimal value is 265135.

Hex triplet 040baf #040baf
RGB Decimal 4, 11, 175 rgb(4,11,175)
RGB Percent 1.6, 4.3, 68.6 rgb(1.6%,4.3%,68.6%)
CMYK 98, 94, 0, 31
HSL 237.5°, 95.5, 35.1 hsl(237.5,95.5%,35.1%)
HSV (or HSB) 237.5°, 97.7, 68.6
Web Safe 000099 #000099
CIE-LAB 21.43, 56.924, -79.638
XYZ 7.906, 3.36, 40.787
xyY 0.152, 0.065, 3.36
CIE-LCH 21.43, 97.89, 305.557
CIE-LUV 21.43, -6.35, -83.848
Hunter-Lab 18.329, 44.916, -119.102
Binary 00000100, 00001011, 10101111

Color Schemes with #040baf

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

Alternatives to #040baf

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

Similar Colors

#040baf Preview

Text with hexadecimal color #040baf

This text has a font color of #040baf.

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

This paragraph has a background color of #040baf.

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

This element has a border color of #040baf.

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

Shades and Tints of #040baf

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

Shade Color Variation
Tint Color Variation

Tones of #040baf

A tone is produced by adding gray to any pure hue. In this case, #57575c is the less saturated color, while #040baf is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040baf 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
  • #1c1c1c Achromatopsia 0.005% of the population
  • #171939 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003c74 Protanopia 1% of men
  • #003f64 Deuteranopia 1% of men
  • #004446 Tritanopia 0.001% of the population
Trichromacy
  • #012a89 Protanomaly 1% of men, 0.01% of women
  • #012c7f Deuteranomaly 6% of men, 0.4% of women
  • #012f6c Tritanomaly 0.01% of the population