#045f8a Hex Color

rgb(4, 95, 138)

Color Information

Name First value Second Value Third Value Fourth Value Written As
HEX 04 5f 8a - #045f8a
RGB 4 95 138 - rgb(4,95,138)
HSL 199 94% 28% - hsl(199,94%,28%)
HSV 199 97% 54% - hsv(199,97%,54%)
XYZ 8.7297 10.0452 25.5236 - xyz(8.7297,10.0452,25.5236)
CIE-LAB 37.92 -6.84 -30.35 - lab(37.92,-6.84,-30.35)
CMYK 0.97101449275362 0.31159420289855 0 0.45882352941176 cmyk(0.97101449275362,0.31159420289855,0,0.45882352941176)

Description

The RGB value of color #045f8a is rgb(4, 95, 138).

In the hex color #045f8a, The value of Red is 4, value of Green is 95, and value of Blue is 138. The primary color is Blue. Similarly, The HSL values for #045f8a consists of 199° Hue, 94% Saturation, and 28% Lightness.

In the CMYK color model, the color #045f8a can be represented as Cyan=0.97101449275362%, Magenta=0.31159420289855%, Yellow=0%, and Black=0.45882352941176%.

Shades of #045f8a

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 #045f8a

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

Color Previews of #045f8a

Preview of #045f8a on White Background

This is a sample text.

The contrast ratio of #045f8a with white color is 6.98

#045f8a color will look good on a white background.

Preview of #045f8a on black background

This is a sample text.

The contrast ratio of #045f8a with black color is 3.01

Color Schemes of #045f8a

Triadic Colors of #045f8a

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 #045f8a

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 #045f8a

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 #045f8a

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: #045f8a; }

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

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

This is a sample text used for the color #045f8a. 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 1.69%

Green 40.08%

Blue 58.23%

CMYK Percentage

Cyan 55.76

Magenta 17.89%

Yellow 0%

Black 26.35%

Comments on this color

Please login or signup to post a comment.

No comments yet.