#031f8a Hex Color
rgb(3, 31, 138)
Color Information
| Name | First value | Second Value | Third Value | Fourth Value | Written As |
|---|---|---|---|---|---|
| HEX | 03 | 1f | 8a | - | #031f8a |
| RGB | 3 | 31 | 138 | - | rgb(3,31,138) |
| HSL | 228 | 96% | 28% | - | hsl(228,96%,28%) |
| HSV | 228 | 98% | 54% | - | hsv(228,98%,54%) |
| XYZ | 5.115 | 2.8343 | 24.3222 | - | xyz(5.115,2.8343,24.3222) |
| CIE-LAB | 19.37 | 36.33 | -60.37 | - | lab(19.37,36.33,-60.37) |
| CMYK | 0.97826086956522 | 0.77536231884058 | 0 | 0.45882352941176 | cmyk(0.97826086956522,0.77536231884058,0,0.45882352941176) |
Description
The RGB value of color #031f8a is rgb(3, 31, 138).
In the hex color #031f8a, The value of Red is 3, value of Green is 31, and value of Blue is 138. The primary color is Blue. Similarly, The HSL values for #031f8a consists of 228° Hue, 96% Saturation, and 28% Lightness.
In the CMYK color model, the color #031f8a can be represented as Cyan=0.97826086956522%, Magenta=0.77536231884058%, Yellow=0%, and Black=0.45882352941176%.
Shades of #031f8a
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 #031f8a
Tints in color are variations of a color that are created by adding white to it, resulting in a lighter tone.
Color Previews of #031f8a
Preview of #031f8a on White Background
The contrast ratio of #031f8a with white color is 13.4
#031f8a color will look good on a white background.
Preview of #031f8a on black background
The contrast ratio of #031f8a with black color is 1.57
Color Schemes of #031f8a
Triadic Colors of #031f8a
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 #031f8a
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 #031f8a
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 #031f8a
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 #031f8a
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: #031f8a;
}
This is a sample text used for the color #031f8a. 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: #031f8a;
}
This is a sample text used for the color #031f8a. 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 #031f8a;
}
This is a sample text used for the color #031f8a. 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.74%
Green 18.02%
Blue 80.23%
CMYK Percentage
Cyan 44.22
Magenta 35.05%
Yellow 0%
Black 20.74%
Comments on this color
Please login or signup to post a comment.
No comments yet.