#042a6b Hex Color
rgb(4, 42, 107)
Color Information
Name | First value | Second Value | Third Value | Fourth Value | Written As |
---|---|---|---|---|---|
HEX | 04 | 2a | 6b | - | #042a6b |
RGB | 4 | 42 | 107 | - | rgb(4,42,107) |
HSL | 218 | 93% | 22% | - | hsl(218,93%,22%) |
HSV | 218 | 96% | 42% | - | hsv(218,96%,42%) |
XYZ | 3.5319 | 2.7433 | 14.2533 | - | xyz(3.5319,2.7433,14.2533) |
CIE-LAB | 18.99 | 16.05 | -41.23 | - | lab(18.99,16.05,-41.23) |
CMYK | 0.96261682242991 | 0.60747663551402 | 0 | 0.58039215686275 | cmyk(0.96261682242991,0.60747663551402,0,0.58039215686275) |
Description
The RGB value of color #042a6b is rgb(4, 42, 107).
In the hex color #042a6b, The value of Red is 4, value of Green is 42, and value of Blue is 107. The primary color is Blue. Similarly, The HSL values for #042a6b consists of 218° Hue, 93% Saturation, and 22% Lightness.
In the CMYK color model, the color #042a6b can be represented as Cyan=0.96261682242991%, Magenta=0.60747663551402%, Yellow=0%, and Black=0.58039215686275%.
Shades of #042a6b
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 #042a6b
Tints in color are variations of a color that are created by adding white to it, resulting in a lighter tone.
Color Previews of #042a6b
Preview of #042a6b on White Background
The contrast ratio of #042a6b with white color is 13.56
#042a6b color will look good on a white background.
Preview of #042a6b on black background
The contrast ratio of #042a6b with black color is 1.55
Color Schemes of #042a6b
Triadic Colors of #042a6b
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 #042a6b
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.
Triadic Colors of #042a6b
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 #042a6b
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.
Monochromatic Colors of #042a6b
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: #042a6b;
}
This is a sample text used for the color #042a6b. 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: #042a6b;
}
This is a sample text used for the color #042a6b. 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 #042a6b;
}
This is a sample text used for the color #042a6b. 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 2.61%
Green 27.45%
Blue 69.93%
CMYK Percentage
Cyan 44.76
Magenta 28.25%
Yellow 0%
Black 26.99%
Comments on this color
Please login or signup to post a comment.
No comments yet.