#0c227c Hex Color

rgb(12, 34, 124)

Color Information

Name First value Second Value Third Value Fourth Value Written As
HEX 0c 22 7c - #0c227c
RGB 12 34 124 - rgb(12,34,124)
HSL 228 82% 27% - hsl(228,82%,27%)
HSV 228 90% 49% - hsv(228,90%,49%)
XYZ 4.3617 2.6775 19.3557 - xyz(4.3617,2.6775,19.3557)
CIE-LAB 18.7 29.43 -52.62 - lab(18.7,29.43,-52.62)
CMYK 0.90322580645161 0.7258064516129 0 0.51372549019608 cmyk(0.90322580645161,0.7258064516129,0,0.51372549019608)

Description

The RGB value of color #0c227c is rgb(12, 34, 124).

In the hex color #0c227c, The value of Red is 12, value of Green is 34, and value of Blue is 124. The primary color is Blue. Similarly, The HSL values for #0c227c consists of 228° Hue, 82% Saturation, and 27% Lightness.

In the CMYK color model, the color #0c227c can be represented as Cyan=0.90322580645161%, Magenta=0.7258064516129%, Yellow=0%, and Black=0.51372549019608%.

Shades of #0c227c

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 #0c227c

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

Color Previews of #0c227c

Preview of #0c227c on White Background

This is a sample text.

The contrast ratio of #0c227c with white color is 13.68

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

Preview of #0c227c on black background

This is a sample text.

The contrast ratio of #0c227c with black color is 1.54

Color Schemes of #0c227c

Triadic Colors of #0c227c

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 #0c227c

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 #0c227c

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 #0c227c

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: #0c227c; }

This is a sample text used for the color #0c227c. 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: #0c227c; }

This is a sample text used for the color #0c227c. 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 #0c227c; }

This is a sample text used for the color #0c227c. 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 7.06%

Green 20%

Blue 72.94%

CMYK Percentage

Cyan 42.15

Magenta 33.87%

Yellow 0%

Black 23.97%

Comments on this color

Please login or signup to post a comment.

No comments yet.