#0540f8 hex color
In a RGB color space, hex #0540f8 is composed of 2% red, 25.1% green and 97.3% blue. Whereas in a CMYK color space, it is composed of 98% cyan, 74.2% magenta, 0% yellow and 2.7% black. It has a hue angle of 225.4 degrees, a saturation of 96% and a lightness of 49.6%. #0540f8 color hex could be obtained by blending #0a80ff with #0000f1. Closest websafe color is: #0033ff.
-
- R 2
- G 25
- B 97
RGB color chart
-
- C 98
- M 74
- Y 0
- K 3
CMYK color chart
● #0540f8 color description : Vivid blue.
The hexadecimal color #0540f8 has RGB values of R:5, G:64, B:248 and CMYK values of C:0.98, M:0.74, Y:0, K:0.03. Its decimal value is 344312.
Hex triplet | 0540f8 | #0540f8 |
---|---|---|
RGB Decimal | 5, 64, 248 | rgb(5,64,248) |
RGB Percent | 2, 25.1, 97.3 | rgb(2%,25.1%,97.3%) |
CMYK | 98, 74, 0, 3 | |
HSL | 225.4°, 96, 49.6 | hsl(225.4,96%,49.6%) |
HSV (or HSB) | 225.4°, 98, 97.3 | |
Web Safe | 0033ff | #0033ff |
CIE-LAB | 38.681, 55.813, -93.301 |
---|---|
XYZ | 18.836, 10.475, 89.831 |
xyY | 0.158, 0.088, 10.475 |
CIE-LCH | 38.681, 108.721, 300.888 |
CIE-LUV | 38.681, -14.432, -129.084 |
Hunter-Lab | 32.365, 47.246, -141.908 |
Binary | 00000101, 01000000, 11111000 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #0540f8. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0540f8
This text has a font color of #0540f8.
<span style="color:#0540f8;">Text here</span>
#0540f8 background color
This paragraph has a background color of #0540f8.
<p style="background-color:#0540f8;">Content here</p>
#0540f8 border color
This element has a border color of #0540f8.
<div style="border:1px solid #0540f8;">Content here</div>
CSS codes
.text {color:#0540f8;}
.background {background-color:#0540f8;}
.border {border:1px solid #0540f8;}
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, #000411 is the darkest color, while #fdfeff is the lightest one.
-
#000411
#000411
rgb(0,4,17)
-
#010924
#010924
rgb(1,9,36)
-
#010e38
#010e38
rgb(1,14,56)
-
#02134b
#02134b
rgb(2,19,75)
-
#02185e
#02185e
rgb(2,24,94)
-
#021d71
#021d71
rgb(2,29,113)
-
#032285
#032285
rgb(3,34,133)
-
#032798
#032798
rgb(3,39,152)
-
#032cab
#032cab
rgb(3,44,171)
-
#0431be
#0431be
rgb(4,49,190)
-
#0436d2
#0436d2
rgb(4,54,210)
-
#053be5
#053be5
rgb(5,59,229)
-
#0540f8
#0540f8
rgb(5,64,248)
Shade Color Variation
-
#164efa
#164efa
rgb(22,78,250)
-
#2a5cfb
#2a5cfb
rgb(42,92,251)
-
#3d6bfb
#3d6bfb
rgb(61,107,251)
-
#507afb
#507afb
rgb(80,122,251)
-
#6388fc
#6388fc
rgb(99,136,252)
-
#7697fc
#7697fc
rgb(118,151,252)
-
#8aa6fd
#8aa6fd
rgb(138,166,253)
-
#9db4fd
#9db4fd
rgb(157,180,253)
-
#b0c3fd
#b0c3fd
rgb(176,195,253)
-
#c3d2fe
#c3d2fe
rgb(195,210,254)
-
#d7e0fe
#d7e0fe
rgb(215,224,254)
-
#eaefff
#eaefff
rgb(234,239,255)
-
#fdfeff
#fdfeff
rgb(253,254,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #7a7c83 is the less saturated color, while #0540f8 is the most saturated one.
-
#7a7c83
#7a7c83
rgb(122,124,131)
-
#70778d
#70778d
rgb(112,119,141)
-
#667297
#667297
rgb(102,114,151)
-
#5d6da0
#5d6da0
rgb(93,109,160)
-
#5368aa
#5368aa
rgb(83,104,170)
-
#4963b4
#4963b4
rgb(73,99,180)
-
#3f5ebe
#3f5ebe
rgb(63,94,190)
-
#3659c7
#3659c7
rgb(54,89,199)
-
#2c54d1
#2c54d1
rgb(44,84,209)
-
#224fdb
#224fdb
rgb(34,79,219)
-
#184ae5
#184ae5
rgb(24,74,229)
-
#0f45ee
#0f45ee
rgb(15,69,238)
-
#0540f8
#0540f8
rgb(5,64,248)
Tone Color Variation
Below, you can see how #0540f8 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