#0c4a8f Hex Color

rgb(12, 74, 143)

Color Information

Name First value Second Value Third Value Fourth Value Written As
HEX 0c 4a 8f - #0c4a8f
RGB 12 74 143 - rgb(12,74,143)
HSL 212 85% 30% - hsl(212,85%,30%)
HSV 212 92% 56% - hsv(212,92%,56%)
XYZ 7.5583 6.9589 26.9314 - xyz(7.5583,6.9589,26.9314)
CIE-LAB 31.71 9.35 -43.28 - lab(31.71,9.35,-43.28)
CMYK 0.91608391608392 0.48251748251748 0 0.43921568627451 cmyk(0.91608391608392,0.48251748251748,0,0.43921568627451)

Description

The RGB value of color #0c4a8f is rgb(12, 74, 143).

In the hex color #0c4a8f, The value of Red is 12, value of Green is 74, and value of Blue is 143. The primary color is Blue. Similarly, The HSL values for #0c4a8f consists of 212° Hue, 85% Saturation, and 30% Lightness.

In the CMYK color model, the color #0c4a8f can be represented as Cyan=0.91608391608392%, Magenta=0.48251748251748%, Yellow=0%, and Black=0.43921568627451%.

Shades of #0c4a8f

Shades in a color are variations of the color that are created by adding black to it which results in a darker tone.

Tints of #0c4a8f

Tints in color are variations of a color that are created by adding white to it, resulting in a lighter tone.

Color Previews of #0c4a8f

Preview of #0c4a8f on White Background

This is a sample text.

The contrast ratio of #0c4a8f with white color is 8.78

#0c4a8f color will look good on a white background.

Preview of #0c4a8f on black background

This is a sample text.

The contrast ratio of #0c4a8f with black color is 2.39

Color Schemes of #0c4a8f

Triadic Colors of #0c4a8f

Triadic colors are three colors that are evenly spaced around the color wheel and are therefore harmonious when used together in a design.

Analogous Colors of #0c4a8f

Analogous colors are colors that are next to each other on the color wheel and share a similar hue, creating a cohesive and harmonious color scheme.

Complementary Color of #0c4a8f

Complementary colors are pairs of colors that are directly opposite each other on the color wheel, creating a high contrast and vibrant color scheme when used together.

Monochromatic Colors of #0c4a8f

Monochromatic colors are variations of a single color that are created by using different shades, tints, and tones of that color which results in a harmonious and cohesive color scheme.

Color Usage

You can set the css color of a text using:

.class{ color: #0c4a8f; }

This is a sample text used for the color #0c4a8f. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi sunt eveniet natus dolor minima, sit quaerat? Dignissimos unde alias debitis amet ducimus modi, eum quos ullam blanditiis aliquam necessitatibus ex.

You can set the css background color of a box using:

.box{ background-color: #0c4a8f; }

This is a sample text used for the color #0c4a8f. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi sunt eveniet natus dolor minima, sit quaerat? Dignissimos unde alias debitis amet ducimus modi, eum quos ullam blanditiis aliquam necessitatibus ex.

You can set the css border of a box using:

.box{ border:4px solid #0c4a8f; }

This is a sample text used for the color #0c4a8f. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi sunt eveniet natus dolor minima, sit quaerat? Dignissimos unde alias debitis amet ducimus modi, eum quos ullam blanditiis aliquam necessitatibus ex.

RGB Percentage

Red 5.24%

Green 32.31%

Blue 62.45%

CMYK Percentage

Cyan 49.85

Magenta 26.25%

Yellow 0%

Black 23.9%

Comments on this color

Please login or signup to post a comment.

No comments yet.