2020 Colors
A comprehensive guide to hex color #0c0c5f

About hex color #0c0c5f - near-Midnight blue

Hex color #0c0c5f may be mistaken for "Midnight blue". It's labeled as "blue". When humans think of blue in marketing, they may think of some of the following attributes: serenity, appetite-curbing, self-expression, health care, and being taken seriously. The color typically isn't associated with clothing. Mastercard and United Way are using a color close to Midnight blue in their branding. (Explore brands using Midnight blue).

In RGB colorspace, the hexadecimal color #0c0c5f is created using 4.7% red, 4.7% green, and 37.3% blue. In CMYK colorspace, you can make the color using 87.4% cyan, 87.4% magenta, 0% yellow, and 62.8% black.
 

RGB Composition
   
4.7%
 
4.7%
 
37.3%
   
    R   G   B    
CMYK Composition
 
87.4%
 
87.4%
 
0%
62.8%
 
  C   M   Y   K  

#0c0c5f is made up of R: 12, G: 12, B: 95 in RGB colorspace and C: 87.37, M:87.37, Y:0, K:62.75 in CMYK colorspace. Its decimal value is 789599 and the closest web-safe color code to it is #000066. Its closest named color is "Midnight blue". White should be used ontop of #0c0c5f to ensure the best legibility.

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

hex #0c0c5f
Websafe hex #000066
rgb 12, 12, 95
rgb percent (%) 4.69%, 4.69%, 37.11%
rgba R: 12, G: 12, B: 95, A: 1.0
CMYK C: 87.37, M:87.37, Y:0, K:62.75
hsv 240, 77.57, 20.98
hsb 240, 87.37, 37.25
luma 21.367
Black or white text? #ffffff
Adobe RGB 20, 20, 93
Closest named color Midnight blue
Hunter-Lab 10.8, 20.8, -55.03
CIE-L*ab 10.31, 32.21, -47.58
CIE-L*Ch(ab) 10.31, 57.45, 304.1
CIE-L*uv 10.31, -2.6, -36.04°

Some colors work better together. Here, you'll find color harmonies and schemes specific to the hex color #0c0c5f. 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" #0c0c5f and the second color is called the "compliment" #5e5e0c.

Design Tip: It's not unusual for complimentary colors to appear jarring given their contrast, so be sure to tweak vibrancies to your liking.

#5e5e0c
#0c0c5f

Split Complimentary

The Split Complimentary color scheme is made up of three colors. The base color #0c0c5f is paired with the two colors to the left and the right of compliment color #5e5e0c.

Design Tip: The Split Complimentary color scheme offers most of the contrast of the Complimentary Color scheme but without being as intense.

#355e0c
#0c0c5f
#5e350c

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: Use this color scheme carefully and spend time balancing where and when each color is used.

#0c5e0c
#0c0c5f
#5e0c0c

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: The Tetradic color scheme is a highly-aggressive color scheme as all four colors fight for dominance.

#0c5e5e
#5e5e0c
#5e0c0c
#0c0c5f

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.

#0c355e
#0c0c5f
#350c5e

Seeing darker, lighter, and tinted variations of the hex color #0c0c5f 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 #0c0c5f with black #000000.

#020213
#03031c
#040426
#06062f
#070739
#080842
#09094c
#0a0a55

Lighter shades

Lighter shades are produced by blending #0c0c5f with white #FFFFFF.

#3c3c7f
#54548f
#6d6d9f
#8585af
#9d9dbf
#b6b6cf
#cecedf
#e6e6ef

Tones

Tones are produced by blending #0c0c5f with gray #808080.

#686879
#5d5d76
#515172
#46466f
#3a3a6c
#2e2e68
#232365
#171762

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 #0c0c5f 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 #0c0c5f 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 #0c0c5f could potentially look inside each of them, given perfect conditions. For example, #0c0c5f appears as #1d085a when in northern sky daylight and as #000f6a when in cool 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 #0c0c5f

#0c0c5f 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.

Midnight blue
Royal blue
Oxford blue
Cetacean blue
Dark imperial blue
Cool black
Space cadet
Navy blue

Furthest named colors to #0c0c5f

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

White
Baby powder
Lotion
Snow
Tooth
Milk
Ivory
Mint cream

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

Mastercard uses the color #000066

#000066
#cc0000
#ff9900
 

United Way uses the color #000064

#10167f
#505050
#7c81b8
#969696
#000064
#b41428
#e6d7aa
#f0e6c8
#f57814
#fe230a
#ff9600
#ff967d
#ffc87d
   
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 #0c0c5f
Java new Color(12, 12, 95)
.NET Color.FromArgb(255, 12, 12, 95);
Objective-C [UIColor colorWithRed:0.0471 green:0.0471 blue:0.3725 alpha:1.00000];
OpenGL glColor3f(0.0471f, 0.0471f, 0.3725f);
Swift UIColor(red:0.0471, green:0.0471, blue:0.3725, alpha:1.00000)
GameMaker Language (GML) $5F0C0C
Python Color('#0c0c5f')

This useful chart contains technical information about the hexadecimal color #0c0c5f. For example, the direct decimal conversion is 789599 while the individual RGB conversions are: 12, 12, 95.

BaseRedGreenBlue
Binary000011000000110001011111
Hex0c0c5f
Octal1414137
Decimal121295

If you're considering using #0c0c5f 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 #0c0c5f colored background for best readability. But, you can be the judge of that by looking at the examples below.

This text is hex color #0c0c5f on a solid black (#000000) background.

This text is hex color #0c0c5f on a solid white (#ffffff) background.

This text is solid black (#000000) on a solid hex color #0c0c5f background.

This text is solid white (#ffffff) on a solid hex color #0c0c5f background.

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

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

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

This text is solid white (#ffffff) on a striped hex color #0c0c5f 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 #0c0c5f.

Buttons

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