#040afb Color Information

In a RGB color space, hex #040afb is composed of 1.6% red, 3.9% green and 98.4% blue. Whereas in a CMYK color space, it is composed of 98.4% cyan, 96% magenta, 0% yellow and 1.6% black. It has a hue angle of 238.5 degrees, a saturation of 96.9% and a lightness of 50%. #040afb color hex could be obtained by blending #0814ff with #0000f7. 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

#040afb color description : Vivid blue.

#040afb Color Conversion

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

Hex triplet 040afb #040afb
RGB Decimal 4, 10, 251 rgb(4,10,251)
RGB Percent 1.6, 3.9, 98.4 rgb(1.6%,3.9%,98.4%)
CMYK 98, 96, 0, 2
HSL 238.5°, 96.9, 50 hsl(238.5,96.9%,50%)
HSV (or HSB) 238.5°, 98.4, 98.4
Web Safe 0000ff #0000ff
CIE-LAB 32.273, 76.743, -105.661
XYZ 17.568, 7.207, 91.727
xyY 0.151, 0.062, 7.207
CIE-LCH 32.273, 130.59, 305.991
CIE-LUV 32.273, -9.454, -128.603
Hunter-Lab 26.845, 69.834, -183.796
Binary 00000100, 00001010, 11111011

Color Schemes with #040afb

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

Alternatives to #040afb

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

Similar Colors

#040afb Preview

Text with hexadecimal color #040afb

This text has a font color of #040afb.

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

This paragraph has a background color of #040afb.

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

This element has a border color of #040afb.

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

Shades and Tints of #040afb

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

Shade Color Variation
Tint Color Variation

Tones of #040afb

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040afb 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
  • #0052a0 Protanopia 1% of men
  • #00578a Deuteranopia 1% of men
  • #005d61 Tritanopia 0.001% of the population
Trichromacy
  • #0138c1 Protanomaly 1% of men, 0.01% of women
  • #013bb3 Deuteranomaly 6% of men, 0.4% of women
  • #013f99 Tritanomaly 0.01% of the population