#0540d4 hex color
In a RGB color space, hex #0540d4 is composed of 2% red, 25.1% green and 83.1% blue. Whereas in a CMYK color space, it is composed of 97.6% cyan, 69.8% magenta, 0% yellow and 16.9% black. It has a hue angle of 222.9 degrees, a saturation of 95.4% and a lightness of 42.5%. #0540d4 color hex could be obtained by blending #0a80ff with #0000a9. Closest websafe color is: #0033cc.
-
- R 2
- G 25
- B 83
RGB color chart
-
- C 98
- M 70
- Y 0
- K 17
CMYK color chart
● #0540d4 color description : Strong blue.
The hexadecimal color #0540d4 has RGB values of R:5, G:64, B:212 and CMYK values of C:0.98, M:0.7, Y:0, K:0.17. Its decimal value is 344276.
Hex triplet | 0540d4 | #0540d4 |
---|---|---|
RGB Decimal | 5, 64, 212 | rgb(5,64,212) |
RGB Percent | 2, 25.1, 83.1 | rgb(2%,25.1%,83.1%) |
CMYK | 98, 70, 0, 17 | |
HSL | 222.9°, 95.4, 42.5 | hsl(222.9,95.4%,42.5%) |
HSV (or HSB) | 222.9°, 97.6, 83.1 | |
Web Safe | 0033cc | #0033cc |
CIE-LAB | 34.906, 43.228, -79.055 |
---|---|
XYZ | 13.777, 8.451, 63.189 |
xyY | 0.161, 0.099, 8.451 |
CIE-LCH | 34.906, 90.102, 298.671 |
CIE-LUV | 34.906, -14.022, -107.964 |
Hunter-Lab | 29.071, 33.718, -108.522 |
Binary | 00000101, 01000000, 11010100 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #0540d4. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0540d4
This text has a font color of #0540d4.
<span style="color:#0540d4;">Text here</span>
#0540d4 background color
This paragraph has a background color of #0540d4.
<p style="background-color:#0540d4;">Content here</p>
#0540d4 border color
This element has a border color of #0540d4.
<div style="border:1px solid #0540d4;">Content here</div>
CSS codes
.text {color:#0540d4;}
.background {background-color:#0540d4;}
.border {border:1px solid #0540d4;}
A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #000001 is the darkest color, while #edf2ff is the lightest one.
-
#000001
#000001
rgb(0,0,1)
-
#000614
#000614
rgb(0,6,20)
-
#010c28
#010c28
rgb(1,12,40)
-
#01123b
#01123b
rgb(1,18,59)
-
#02184e
#02184e
rgb(2,24,78)
-
#021d61
#021d61
rgb(2,29,97)
-
#032374
#032374
rgb(3,35,116)
-
#032987
#032987
rgb(3,41,135)
-
#042f9b
#042f9b
rgb(4,47,155)
-
#0434ae
#0434ae
rgb(4,52,174)
-
#053ac1
#053ac1
rgb(5,58,193)
-
#0540d4
#0540d4
rgb(5,64,212)
-
#0546e7
#0546e7
rgb(5,70,231)
Shade Color Variation
-
#074cf9
#074cf9
rgb(7,76,249)
-
#1a5afa
#1a5afa
rgb(26,90,250)
-
#2d68fa
#2d68fa
rgb(45,104,250)
-
#4176fb
#4176fb
rgb(65,118,251)
-
#5483fb
#5483fb
rgb(84,131,251)
-
#6791fb
#6791fb
rgb(103,145,251)
-
#7a9ffc
#7a9ffc
rgb(122,159,252)
-
#8dadfc
#8dadfc
rgb(141,173,252)
-
#a0bbfd
#a0bbfd
rgb(160,187,253)
-
#b4c9fd
#b4c9fd
rgb(180,201,253)
-
#c7d6fe
#c7d6fe
rgb(199,214,254)
-
#dae4fe
#dae4fe
rgb(218,228,254)
-
#edf2ff
#edf2ff
rgb(237,242,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #696b70 is the less saturated color, while #0540d4 is the most saturated one.
-
#696b70
#696b70
rgb(105,107,112)
-
#616778
#616778
rgb(97,103,120)
-
#586481
#586481
rgb(88,100,129)
-
#506089
#506089
rgb(80,96,137)
-
#485d91
#485d91
rgb(72,93,145)
-
#3f599a
#3f599a
rgb(63,89,154)
-
#3756a2
#3756a2
rgb(55,86,162)
-
#2f52aa
#2f52aa
rgb(47,82,170)
-
#264eb3
#264eb3
rgb(38,78,179)
-
#1e4bbb
#1e4bbb
rgb(30,75,187)
-
#1647c3
#1647c3
rgb(22,71,195)
-
#0d44cc
#0d44cc
rgb(13,68,204)
-
#0540d4
#0540d4
rgb(5,64,212)
Tone Color Variation
Below, you can see how #0540d4 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.
Monochromacy
Dichromacy