2020 Colors
A comprehensive guide to hex color #4040ad

About hex color #4040ad - near-Ocean blue

Hex color #4040ad almost matches the color named "Ocean blue". It's described as "blue". When people spot the color blue in marketing, they might associate it with: water, coldness, a sense of security or trust, health care, and maturity. This color isn't popular for cars. FreeCodeCamp is using a color close to Ocean blue in their branding. (Explore brands using Ocean blue).

In RGB colorspace, the hexadecimal color #4040ad is created using 25.1% red, 25.1% green, and 67.8% blue. In CMYK colorspace, you can make the color using 63% cyan, 63% magenta, 0% yellow, and 32.2% black.
 

RGB Composition
   
25.1%
 
25.1%
 
67.8%
   
    R   G   B    
CMYK Composition
 
63%
 
63%
 
0%
32.2%
 
  C   M   Y   K  

#4040ad is made up of R: 64, G: 64, B: 173 in RGB colorspace and C: 63.01, M:63.01, Y:0, K:32.16 in CMYK colorspace. Its decimal value is 4210861 and the closest web-safe color code to it is #333399. Its closest named color is "Ocean blue". White should be used ontop of #4040ad to ensure the best legibility.

Here's a color conversion chart. It contains technical information about the hex color #4040ad. If you're a programmer, view the code snippets section for prepared language syntax.

hex #4040ad
Websafe hex #333399
rgb 64, 64, 173
rgb percent (%) 25%, 25%, 67.58%
rgba R: 64, G: 64, B: 173, A: 1.0
CMYK C: 63.01, M:63.01, Y:0, K:32.16
hsv 240, 45.99, 46.47
hsb 240, 63.01, 67.84
luma 76.253
Black or white text? #ffffff
Adobe RGB 66, 66, 169
Closest named color Ocean blue
Hunter-Lab 27.88, 26.68, -70.59
CIE-L*ab 33.51, 33.84, -58.39
CIE-L*Ch(ab) 33.51, 67.49, 300.09
CIE-L*uv 33.51, -5.9, -81.8°

Some colors work better together. Here, you'll find color harmonies and schemes specific to the hex color #4040ad. These color palettes have been mathematically proven to pair well in designs.
 

Complimentary

The Complimentary color scheme is made up of two colors. These two colors are opposite one another in the color spectrum. The first color is called the "base" #4040ad and the second color is called the "compliment" #acac3f.

Design Tip: Complimentary colors do the job if you want an element to really stand out!

#acac3f
#4040ad

Split Complimentary

The Split Complimentary color scheme is made up of three colors. The base color #4040ad is paired with the two colors to the left and the right of compliment color #acac3f.

Design Tip: The two secondary colors make for great accent and highlight colors in your design.

#76ac3f
#4040ad
#ac763f

Triadic

The Triadic color scheme is made up of three colors. When viewed on a color wheel, all three colors are spaced evenly (120°) apart.

Design Tip: Similar to the Split Complimentary color scheme, it's smart to use the secondary colors for accents and highlights.

#3fac3f
#4040ad
#ac3f3f

Tetradic

The Tetradic color scheme is made up of four colors. When viewed on a color wheel, all four colors are spaced evenly (90°) apart.

Design Tip: Find balance between the warm and cold colors if you desire to use the Tetradic color scheme in your design.

#3facac
#acac3f
#ac3f3f
#4040ad

Analagous

The Analagous color scheme is made up of three colors. The three colors sit next to one another on the color wheel. The palette is made in similar fashion to how the Split Complimentary palette is made. However, the two secondary colors are adjacent to the base, not the compliment.

Design Tip: This color scheme typically doesn't produce tension as all three colors tend to be either warm or cold.

#3f76ac
#4040ad
#763fac

Seeing darker, lighter, and tinted variations of the hex color #4040ad can help you with your creative processes. Remember, you can click on a color to be taken to its own page full of unique color information.
 

Darker shades

Darker shades are produced by blending #4040ad with black #000000.

#0c0c22
#131333
#191945
#202056
#262667
#2c2c79
#33338a
#39399b

Lighter shades

Lighter shades are produced by blending #4040ad with white #FFFFFF.

#6666bd
#7979c5
#8c8ccd
#9f9fd6
#b2b2de
#c5c5e6
#d8d8ee
#ebebf6

Tones

Tones are produced by blending #4040ad with gray #808080.

#737389
#6c6c8d
#666692
#606096
#59599b
#53539f
#4c4ca4
#4646a8

A color gradient may also be known as color progression or a color ramp. A gradient is the gradual transition of one color into another. This section showcases gradients featuring #4040ad as the base color. The secondary colors come from the Color Harmonies section above.

Below each gradient is the CSS color code that was used to create it. You can copy and paste it so it can be used in designs of your own.

For more information on how to apply gradients, visit the w3schools.com page on CSS gradients.

Seeing #4040ad on a computer or phone screen is much different than how it may appear in the real world. Shown here are 20 different environment types and how #4040ad could potentially look inside each of them, given perfect conditions. For example, #4040ad appears as #3441b5 when in old direct sunlight at noon and as #4f3bab when in daylight fluorescent.

Incandescent/tungsten
Old direct sunlight at noon
Old daylight
ICC profile PCS
Mid-morning daylight
Daylight, sRGB, Adobe-RGB
North sky daylight
Equal energy
Daylight Fluorescent
Cool fluorescent
White Fluorescent
Warm White Fluorescent
Daylight Fluorescent
Lite White Fluorescent
Daylight fluorescent, D65 simulator
Sylvania F40, D50 simulator
Cool White Fluorescent
Ultralume 50, Philips TL85
Ultralume 40, Philips TL84
Ultralume 30, Philips TL83
Data used in calculating these colors comes courtesy of Easy RGB.

Colors that have names have reached a point of status where they're more than just a hex code: they're real-world associated. View a list of all 1,500+ named colors.

Closest named colors to #4040ad

#4040ad might be precisely the color you're looking for. But, the colors below are a close match. What's better is that they're named colors, meaning chances are there's more information about them. If you feel like taking a slight deviation in hue, click a color below to learn about why it's so unique.

Ocean blue
Violet-blue
Plump Purple
Blue (pigment)
Facebook Blue
Denim Blue
Chinese blue
Christmas blue

Furthest named colors to #4040ad

Looking for something completely different? Try a well-documented complimentary color. The named colors below have been calculated to be the furthest colors from #4040ad. Click on the colors to explore their unique information.

Yellow
Lemon glacier
Lemon
Neon yellow
Yellow Sunshine
Cadmium yellow
Christmas yellow
Yellow rose

Colors are important to brands and the messages they convey. Brand recognition and colors go hand-in-hand. Knowing what brands are using #4040ad, or a color similar, can help you in determining whether the color is appropriate to your design.

FreeCodeCamp uses the color #3949ab

#3949ab
#006400
#efefef
#ff4025
#ff9c2a
   
Brand data comes courtesy of Brand Colors. Brands linked may not be suitable for all ages and in no way affiliated with 2020 Colors.

Here you can easily copy-and-paste formatted color code for use with your favorite programming/markup languages like HTML/CSS, Java, Objective-C, and GameMaker Language.

HTML, CSS #4040ad
Java new Color(64, 64, 173)
.NET Color.FromArgb(255, 64, 64, 173);
Objective-C [UIColor colorWithRed:0.251 green:0.251 blue:0.6784 alpha:1.00000];
OpenGL glColor3f(0.251f, 0.251f, 0.6784f);
Swift UIColor(red:0.251, green:0.251, blue:0.6784, alpha:1.00000)
GameMaker Language (GML) $AD4040
Python Color('#4040ad')

This useful chart contains technical information about the hexadecimal color #4040ad. For example, the direct decimal conversion is 4210861 while the individual RGB conversions are: 64, 64, 173.

BaseRedGreenBlue
Binary010000000100000010101101
Hex4040ad
Octal100100255
Decimal6464173

If you're considering using #4040ad in a logo or design, you can quickly reference below to see how various symbols, icons, and emblems look.

Icons courtesy of Font Awesome.

We learned earlier that White-colored text should be used on a #4040ad colored background for best readability. But, you can be the judge of that by looking at the examples below.

This text is hex color #4040ad on a solid black (#000000) background.

This text is hex color #4040ad on a solid white (#ffffff) background.

This text is solid black (#000000) on a solid hex color #4040ad background.

This text is solid white (#ffffff) on a solid hex color #4040ad background.

This text is hex color #4040ad on a striped black (#000000) and white (#ffffff) background.

This text is hex color #4040ad on a striped gray (#808080) and white (#ffffff) background.

This text is solid black (#000000) on a striped hex color #4040ad and white (#ffffff) background.

This text is solid white (#ffffff) on a striped hex color #4040ad and white (#ffffff) background.

Patterns courtesy of Hero Patterns.

If you're a web developer, you might find it useful to see elements like buttons and check boxes in the color #4040ad.

Buttons

The HTML and CSS used to create these elements comes from w3schools.com.
© 2019 — 2020 Colors banack Support