#040fa2 Color Information
In a RGB color space, hex #040fa2 is composed of 1.6% red, 5.9% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 97.5% cyan, 90.7% magenta, 0% yellow and 36.5% black. It has a hue angle of 235.8 degrees, a saturation of 95.2% and a lightness of 32.5%. #040fa2 color hex could be obtained by blending #081eff with #000045. Closest websafe color is: #000099.
-
- R 2
- G 6
- B 64
-
- C 98
- M 91
- Y 0
- K 36
● #040fa2 color description : Dark blue.
#040fa2 Color Conversion
The hexadecimal color #040fa2 has RGB values of R:4, G:15, B:162 and CMYK values of C:0.98, M:0.91, Y:0, K:0.36. Its decimal value is 266146.
Hex triplet | 040fa2 | #040fa2 |
---|---|---|
RGB Decimal | 4, 15, 162 | rgb(4,15,162) |
RGB Percent | 1.6, 5.9, 63.5 | rgb(1.6%,5.9%,63.5%) |
CMYK | 98, 91, 0, 36 | |
HSL | 235.8°, 95.2, 32.5 | hsl(235.8,95.2%,32.5%) |
HSV (or HSB) | 235.8°, 97.5, 63.5 | |
Web Safe | 000099 | #000099 |
CIE-LAB | 19.946, 52.029, -74.24 |
---|---|
XYZ | 6.741, 2.976, 34.399 |
xyY | 0.153, 0.067, 2.976 |
CIE-LCH | 19.946, 90.657, 305.024 |
CIE-LUV | 19.946, -6.066, -76.514 |
Hunter-Lab | 17.25, 39.57, -106.161 |
Binary | 00000100, 00001111, 10100010 |
Color Schemes with #040fa2
Alternatives to #040fa2
Below, you can see some colors close to #040fa2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040fa2 Preview
This text has a font color of #040fa2.
<span style="color:#040fa2;">Text here</span>
This paragraph has a background color of #040fa2.
<p style="background-color:#040fa2;">Content here</p>
This element has a border color of #040fa2.
<div style="border:1px solid #040fa2;">Content here</div>
.text {color:#040fa2;}
.background {background-color:#040fa2;}
.border {border:1px solid #040fa2;}
Shades and Tints of #040fa2
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, #000109 is the darkest color, while #f5f5ff is the lightest one.
-
#000109
#000109
rgb(0,1,9)
-
#01031c
#01031c
rgb(1,3,28)
-
#01042f
#01042f
rgb(1,4,47)
-
#020642
#020642
rgb(2,6,66)
-
#020855
#020855
rgb(2,8,85)
-
#030a69
#030a69
rgb(3,10,105)
-
#030b7c
#030b7c
rgb(3,11,124)
-
#040d8f
#040d8f
rgb(4,13,143)
-
#040fa2
#040fa2
rgb(4,15,162)
-
#0411b5
#0411b5
rgb(4,17,181)
-
#0513c8
#0513c8
rgb(5,19,200)
-
#0514db
#0514db
rgb(5,20,219)
-
#0616ef
#0616ef
rgb(6,22,239)
-
#0f1ff9
#0f1ff9
rgb(15,31,249)
-
#2231fa
#2231fa
rgb(34,49,250)
-
#3543fa
#3543fa
rgb(53,67,250)
-
#4855fa
#4855fa
rgb(72,85,250)
-
#5c67fb
#5c67fb
rgb(92,103,251)
-
#6f79fb
#6f79fb
rgb(111,121,251)
-
#828afc
#828afc
rgb(130,138,252)
-
#959cfc
#959cfc
rgb(149,156,252)
-
#a8aefd
#a8aefd
rgb(168,174,253)
-
#bbc0fd
#bbc0fd
rgb(187,192,253)
-
#ced2fe
#ced2fe
rgb(206,210,254)
-
#e2e4fe
#e2e4fe
rgb(226,228,254)
-
#f5f5ff
#f5f5ff
rgb(245,245,255)
Tones of #040fa2
A tone is produced by adding gray to any pure hue. In this case, #515155 is the less saturated color, while #040fa2 is the most saturated one.
-
#515155
#515155
rgb(81,81,85)
-
#4a4b5c
#4a4b5c
rgb(74,75,92)
-
#444662
#444662
rgb(68,70,98)
-
#3d4069
#3d4069
rgb(61,64,105)
-
#373b6f
#373b6f
rgb(55,59,111)
-
#313575
#313575
rgb(49,53,117)
-
#2a307c
#2a307c
rgb(42,48,124)
-
#242a82
#242a82
rgb(36,42,130)
-
#1e2588
#1e2588
rgb(30,37,136)
-
#171f8f
#171f8f
rgb(23,31,143)
-
#111a95
#111a95
rgb(17,26,149)
-
#0a149c
#0a149c
rgb(10,20,156)
-
#040fa2
#040fa2
rgb(4,15,162)
Color Blindness Simulator
Below, you can see how #040fa2 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.