#1540fa Hex Color
rgb(21, 64, 250)
Color Information
Name | First value | Second Value | Third Value | Fourth Value | Written As |
---|---|---|---|---|---|
HEX | 15 | 40 | fa | - | #1540fa |
RGB | 21 | 64 | 250 | - | rgb(21,64,250) |
HSL | 229 | 96% | 53% | - | hsl(229,96%,53%) |
HSV | 229 | 92% | 98% | - | hsv(229,92%,98%) |
XYZ | 19.398 | 10.7283 | 91.4909 | - | xyz(19.398,10.7283,91.4909) |
CIE-LAB | 39.12 | 56.8 | -93.7 | - | lab(39.12,56.8,-93.7) |
CMYK | 0.916 | 0.744 | 0 | 0.019607843137255 | cmyk(0.916,0.744,0,0.019607843137255) |
Description
The RGB value of color #1540fa is rgb(21, 64, 250).
In the hex color #1540fa, The value of Red is 21, value of Green is 64, and value of Blue is 250. The primary color is Blue. Similarly, The HSL values for #1540fa consists of 229° Hue, 96% Saturation, and 53% Lightness.
In the CMYK color model, the color #1540fa can be represented as Cyan=0.916%, Magenta=0.744%, Yellow=0%, and Black=0.019607843137255%.
Shades of #1540fa
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 #1540fa
Tints in color are variations of a color that are created by adding white to it, resulting in a lighter tone.
Color Previews of #1540fa
Preview of #1540fa on White Background
The contrast ratio of #1540fa with white color is 6.68
#1540fa color will look good on a white background.
Preview of #1540fa on black background
The contrast ratio of #1540fa with black color is 3.15
Color Schemes of #1540fa
Triadic Colors of #1540fa
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 #1540fa
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 #1540fa
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 #1540fa
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.
Color Usage
You can set the css color of a text using:
.class{
color: #1540fa;
}
This is a sample text used for the color #1540fa. 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: #1540fa;
}
This is a sample text used for the color #1540fa. 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 #1540fa;
}
This is a sample text used for the color #1540fa. 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 6.27%
Green 19.1%
Blue 74.63%
CMYK Percentage
Cyan 54.54
Magenta 44.3%
Yellow 0%
Black 1.17%
Comments on this color
Please login or signup to post a comment.
No comments yet.