#040fa5 Color Information
In a RGB color space, hex #040fa5 is composed of 1.6% red, 5.9% green and 64.7% blue. Whereas in a CMYK color space, it is composed of 97.6% cyan, 90.9% magenta, 0% yellow and 35.3% black. It has a hue angle of 235.9 degrees, a saturation of 95.3% and a lightness of 33.1%. #040fa5 color hex could be obtained by blending #081eff with #00004b. Closest websafe color is: #000099.
-
- R 2
- G 6
- B 65
-
- C 98
- M 91
- Y 0
- K 35
● #040fa5 color description : Dark blue.
#040fa5 Color Conversion
The hexadecimal color #040fa5 has RGB values of R:4, G:15, B:165 and CMYK values of C:0.98, M:0.91, Y:0, K:0.35. Its decimal value is 266149.
Hex triplet | 040fa5 | #040fa5 |
---|---|---|
RGB Decimal | 4, 15, 165 | rgb(4,15,165) |
RGB Percent | 1.6, 5.9, 64.7 | rgb(1.6%,5.9%,64.7%) |
CMYK | 98, 91, 0, 35 | |
HSL | 235.9°, 95.3, 33.1 | hsl(235.9,95.3%,33.1%) |
HSV (or HSB) | 235.9°, 97.6, 64.7 | |
Web Safe | 000099 | #000099 |
CIE-LAB | 20.375, 52.903, -75.351 |
---|---|
XYZ | 7.011, 3.084, 35.821 |
xyY | 0.153, 0.067, 3.084 |
CIE-LCH | 20.375, 92.068, 305.073 |
CIE-LUV | 20.375, -6.186, -78.317 |
Hunter-Lab | 17.56, 40.539, -108.655 |
Binary | 00000100, 00001111, 10100101 |
Color Schemes with #040fa5
Alternatives to #040fa5
Below, you can see some colors close to #040fa5. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040fa5 Preview
This text has a font color of #040fa5.
<span style="color:#040fa5;">Text here</span>
This paragraph has a background color of #040fa5.
<p style="background-color:#040fa5;">Content here</p>
This element has a border color of #040fa5.
<div style="border:1px solid #040fa5;">Content here</div>
.text {color:#040fa5;}
.background {background-color:#040fa5;}
.border {border:1px solid #040fa5;}
Shades and Tints of #040fa5
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, #00010c is the darkest color, while #f8f8ff is the lightest one.
-
#00010c
#00010c
rgb(0,1,12)
-
#01031f
#01031f
rgb(1,3,31)
-
#010532
#010532
rgb(1,5,50)
-
#020645
#020645
rgb(2,6,69)
-
#020858
#020858
rgb(2,8,88)
-
#030a6c
#030a6c
rgb(3,10,108)
-
#030c7f
#030c7f
rgb(3,12,127)
-
#040d92
#040d92
rgb(4,13,146)
-
#040fa5
#040fa5
rgb(4,15,165)
-
#0411b8
#0411b8
rgb(4,17,184)
-
#0512cb
#0512cb
rgb(5,18,203)
-
#0514de
#0514de
rgb(5,20,222)
-
#0616f2
#0616f2
rgb(6,22,242)
-
#1222f9
#1222f9
rgb(18,34,249)
-
#2534fa
#2534fa
rgb(37,52,250)
-
#3845fa
#3845fa
rgb(56,69,250)
-
#4b57fb
#4b57fb
rgb(75,87,251)
-
#5e69fb
#5e69fb
rgb(94,105,251)
-
#727bfc
#727bfc
rgb(114,123,252)
-
#858dfc
#858dfc
rgb(133,141,252)
-
#989ffd
#989ffd
rgb(152,159,253)
-
#abb1fd
#abb1fd
rgb(171,177,253)
-
#bec3fd
#bec3fd
rgb(190,195,253)
-
#d1d4fe
#d1d4fe
rgb(209,212,254)
-
#e4e6fe
#e4e6fe
rgb(228,230,254)
-
#f8f8ff
#f8f8ff
rgb(248,248,255)
Tones of #040fa5
A tone is produced by adding gray to any pure hue. In this case, #525257 is the less saturated color, while #040fa5 is the most saturated one.
-
#525257
#525257
rgb(82,82,87)
-
#4c4d5e
#4c4d5e
rgb(76,77,94)
-
#454764
#454764
rgb(69,71,100)
-
#3f426b
#3f426b
rgb(63,66,107)
-
#383c71
#383c71
rgb(56,60,113)
-
#323678
#323678
rgb(50,54,120)
-
#2b317e
#2b317e
rgb(43,49,126)
-
#252b85
#252b85
rgb(37,43,133)
-
#1e258b
#1e258b
rgb(30,37,139)
-
#182092
#182092
rgb(24,32,146)
-
#111a98
#111a98
rgb(17,26,152)
-
#0b159f
#0b159f
rgb(11,21,159)
-
#040fa5
#040fa5
rgb(4,15,165)
Color Blindness Simulator
Below, you can see how #040fa5 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.