#0540a2 Color Information
In a RGB color space, hex #0540a2 is composed of 2% red, 25.1% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 96.9% cyan, 60.5% magenta, 0% yellow and 36.5% black. It has a hue angle of 217.5 degrees, a saturation of 94% and a lightness of 32.7%. #0540a2 color hex could be obtained by blending #0a80ff with #000045. Closest websafe color is: #003399.
-
- R 2
- G 25
- B 64
-
- C 97
- M 60
- Y 0
- K 36
● #0540a2 color description : Dark blue.
#0540a2 Color Conversion
The hexadecimal color #0540a2 has RGB values of R:5, G:64, B:162 and CMYK values of C:0.97, M:0.6, Y:0, K:0.36. Its decimal value is 344226.
Hex triplet | 0540a2 | #0540a2 |
---|---|---|
RGB Decimal | 5, 64, 162 | rgb(5,64,162) |
RGB Percent | 2, 25.1, 63.5 | rgb(2%,25.1%,63.5%) |
CMYK | 97, 60, 0, 36 | |
HSL | 217.5°, 94, 32.7 | hsl(217.5,94%,32.7%) |
HSV (or HSB) | 217.5°, 96.9, 63.5 | |
Web Safe | 003399 | #003399 |
CIE-LAB | 30.174, 23.832, -57.334 |
---|---|
XYZ | 8.416, 6.307, 34.954 |
xyY | 0.169, 0.127, 6.307 |
CIE-LCH | 30.174, 62.09, 292.571 |
CIE-LUV | 30.174, -14.082, -76.603 |
Hunter-Lab | 25.114, 15.871, -64.943 |
Binary | 00000101, 01000000, 10100010 |
Color Schemes with #0540a2
Alternatives to #0540a2
Below, you can see some colors close to #0540a2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#0540a2 Preview
This text has a font color of #0540a2.
<span style="color:#0540a2;">Text here</span>
This paragraph has a background color of #0540a2.
<p style="background-color:#0540a2;">Content here</p>
This element has a border color of #0540a2.
<div style="border:1px solid #0540a2;">Content here</div>
.text {color:#0540a2;}
.background {background-color:#0540a2;}
.border {border:1px solid #0540a2;}
Shades and Tints of #0540a2
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, #00040a is the darkest color, while #f6f9ff is the lightest one.
-
#00040a
#00040a
rgb(0,4,10)
-
#010b1d
#010b1d
rgb(1,11,29)
-
#011330
#011330
rgb(1,19,48)
-
#021a43
#021a43
rgb(2,26,67)
-
#032256
#032256
rgb(3,34,86)
-
#032969
#032969
rgb(3,41,105)
-
#04317c
#04317c
rgb(4,49,124)
-
#04388f
#04388f
rgb(4,56,143)
-
#0540a2
#0540a2
rgb(5,64,162)
-
#0648b5
#0648b5
rgb(6,72,181)
-
#064fc8
#064fc8
rgb(6,79,200)
-
#0757db
#0757db
rgb(7,87,219)
-
#075eee
#075eee
rgb(7,94,238)
-
#1168f8
#1168f8
rgb(17,104,248)
-
#2474f8
#2474f8
rgb(36,116,248)
-
#3780f9
#3780f9
rgb(55,128,249)
-
#4a8cf9
#4a8cf9
rgb(74,140,249)
-
#5e98fa
#5e98fa
rgb(94,152,250)
-
#71a4fb
#71a4fb
rgb(113,164,251)
-
#84b1fb
#84b1fb
rgb(132,177,251)
-
#97bdfc
#97bdfc
rgb(151,189,252)
-
#aac9fc
#aac9fc
rgb(170,201,252)
-
#bdd5fd
#bdd5fd
rgb(189,213,253)
-
#d0e1fe
#d0e1fe
rgb(208,225,254)
-
#e3edfe
#e3edfe
rgb(227,237,254)
-
#f6f9ff
#f6f9ff
rgb(246,249,255)
Tones of #0540a2
A tone is produced by adding gray to any pure hue. In this case, #525355 is the less saturated color, while #0540a2 is the most saturated one.
-
#525355
#525355
rgb(82,83,85)
-
#4c525b
#4c525b
rgb(76,82,91)
-
#455062
#455062
rgb(69,80,98)
-
#3f4e68
#3f4e68
rgb(63,78,104)
-
#384d6f
#384d6f
rgb(56,77,111)
-
#324b75
#324b75
rgb(50,75,117)
-
#2c4a7b
#2c4a7b
rgb(44,74,123)
-
#254882
#254882
rgb(37,72,130)
-
#1f4688
#1f4688
rgb(31,70,136)
-
#18458f
#18458f
rgb(24,69,143)
-
#124395
#124395
rgb(18,67,149)
-
#0b429c
#0b429c
rgb(11,66,156)
-
#0540a2
#0540a2
rgb(5,64,162)
Color Blindness Simulator
Below, you can see how #0540a2 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.