#040afa Color Information

In a RGB color space, hex #040afa is composed of 1.6% red, 3.9% green and 98% blue. Whereas in a CMYK color space, it is composed of 98.4% cyan, 96% magenta, 0% yellow and 2% black. It has a hue angle of 238.5 degrees, a saturation of 96.9% and a lightness of 49.8%. #040afa color hex could be obtained by blending #0814ff with #0000f5. Closest websafe color is: #0000ff.

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

#040afa color description : Vivid blue.

#040afa Color Conversion

The hexadecimal color #040afa has RGB values of R:4, G:10, B:250 and CMYK values of C:0.98, M:0.96, Y:0, K:0.02. Its decimal value is 264954.

Hex triplet 040afa #040afa
RGB Decimal 4, 10, 250 rgb(4,10,250)
RGB Percent 1.6, 3.9, 98 rgb(1.6%,3.9%,98%)
CMYK 98, 96, 0, 2
HSL 238.5°, 96.9, 49.8 hsl(238.5,96.9%,49.8%)
HSV (or HSB) 238.5°, 98.4, 98
Web Safe 0000ff #0000ff
CIE-LAB 32.132, 76.498, -105.334
XYZ 17.41, 7.144, 90.898
xyY 0.151, 0.062, 7.144
CIE-LCH 32.132, 130.181, 305.989
CIE-LUV 32.132, -9.413, -128.027
Hunter-Lab 26.728, 69.503, -182.931
Binary 00000100, 00001010, 11111010

Color Schemes with #040afa

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

Alternatives to #040afa

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

Similar Colors

#040afa Preview

Text with hexadecimal color #040afa

This text has a font color of #040afa.

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

This paragraph has a background color of #040afa.

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

This element has a border color of #040afa.

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

Shades and Tints of #040afa

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

Shade Color Variation
Tint Color Variation

Tones of #040afa

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040afa 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
  • #242424 Achromatopsia 0.005% of the population
  • #1e1f4f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00529f Protanopia 1% of men
  • #005789 Deuteranopia 1% of men
  • #005d60 Tritanopia 0.001% of the population
Trichromacy
  • #0138c0 Protanomaly 1% of men, 0.01% of women
  • #013bb2 Deuteranomaly 6% of men, 0.4% of women
  • #013f98 Tritanomaly 0.01% of the population