#21397e Hex Color
rgb(33, 57, 126)
Color Information
| Name | First value | Second Value | Third Value | Fourth Value | Written As |
|---|---|---|---|---|---|
| HEX | 21 | 39 | 7e | - | #21397e |
| RGB | 33 | 57 | 126 | - | rgb(33,57,126) |
| HSL | 225 | 58% | 31% | - | hsl(225,58%,31%) |
| HSV | 225 | 74% | 49% | - | hsv(225,74%,49%) |
| XYZ | 5.8562 | 4.7559 | 20.348 | - | xyz(5.8562,4.7559,20.348) |
| CIE-LAB | 26.03 | 16.33 | -41.88 | - | lab(26.03,16.33,-41.88) |
| CMYK | 0.73809523809524 | 0.54761904761905 | 0 | 0.50588235294118 | cmyk(0.73809523809524,0.54761904761905,0,0.50588235294118) |
Description
The RGB value of color #21397e is rgb(33, 57, 126).
In the hex color #21397e, The value of Red is 33, value of Green is 57, and value of Blue is 126. The primary color is Blue. Similarly, The HSL values for #21397e consists of 225° Hue, 58% Saturation, and 31% Lightness.
In the CMYK color model, the color #21397e can be represented as Cyan=0.73809523809524%, Magenta=0.54761904761905%, Yellow=0%, and Black=0.50588235294118%.
Shades of #21397e
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 #21397e
Tints in color are variations of a color that are created by adding white to it, resulting in a lighter tone.
Color Previews of #21397e
Preview of #21397e on White Background
The contrast ratio of #21397e with white color is 10.76
#21397e color will look good on a white background.
Preview of #21397e on black background
The contrast ratio of #21397e with black color is 1.95
Color Schemes of #21397e
Triadic Colors of #21397e
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 #21397e
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 #21397e
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 #21397e
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 #21397e
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: #21397e;
}
This is a sample text used for the color #21397e. 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: #21397e;
}
This is a sample text used for the color #21397e. 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 #21397e;
}
This is a sample text used for the color #21397e. 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 15.28%
Green 26.39%
Blue 58.33%
CMYK Percentage
Cyan 41.2
Magenta 30.57%
Yellow 0%
Black 28.24%
Comments on this color
Please login or signup to post a comment.
No comments yet.