#402fa8 Color Information
In a RGB color space, hex #402fa8 is composed of 25.1% red, 18.4% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 61.9% cyan, 72% magenta, 0% yellow and 34.1% black. It has a hue angle of 248.4 degrees, a saturation of 56.3% and a lightness of 42.2%. #402fa8 color hex could be obtained by blending #805eff with #000051. Closest websafe color is: #333399.
-
- R 25
- G 18
- B 66
-
- C 62
- M 72
- Y 0
- K 34
● #402fa8 color description : Dark blue.
#402fa8 Color Conversion
The hexadecimal color #402fa8 has RGB values of R:64, G:47, B:168 and CMYK values of C:0.62, M:0.72, Y:0, K:0.34. Its decimal value is 4206504.
Hex triplet | 402fa8 | #402fa8 |
---|---|---|
RGB Decimal | 64, 47, 168 | rgb(64,47,168) |
RGB Percent | 25.1, 18.4, 65.9 | rgb(25.1%,18.4%,65.9%) |
CMYK | 62, 72, 0, 34 | |
HSL | 248.4°, 56.3, 42.2 | hsl(248.4,56.3%,42.2%) |
HSV (or HSB) | 248.4°, 72, 65.9 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 29.285, 42.39, -62.305 |
---|---|
XYZ | 10.197, 5.95, 37.655 |
xyY | 0.19, 0.111, 5.95 |
CIE-LCH | 29.285, 75.358, 304.23 |
CIE-LUV | 29.285, -2.21, -82.324 |
Hunter-Lab | 24.392, 31.938, -74.453 |
Binary | 01000000, 00101111, 10101000 |
Color Schemes with #402fa8
Alternatives to #402fa8
Below, you can see some colors close to #402fa8. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402fa8 Preview
This text has a font color of #402fa8.
<span style="color:#402fa8;">Text here</span>
This paragraph has a background color of #402fa8.
<p style="background-color:#402fa8;">Content here</p>
This element has a border color of #402fa8.
<div style="border:1px solid #402fa8;">Content here</div>
.text {color:#402fa8;}
.background {background-color:#402fa8;}
.border {border:1px solid #402fa8;}
Shades and Tints of #402fa8
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, #06040f is the darkest color, while #fefeff is the lightest one.
-
#06040f
#06040f
rgb(6,4,15)
-
#0b081e
#0b081e
rgb(11,8,30)
-
#110d2d
#110d2d
rgb(17,13,45)
-
#17113d
#17113d
rgb(23,17,61)
-
#1d154c
#1d154c
rgb(29,21,76)
-
#231a5b
#231a5b
rgb(35,26,91)
-
#291e6b
#291e6b
rgb(41,30,107)
-
#2e227a
#2e227a
rgb(46,34,122)
-
#342689
#342689
rgb(52,38,137)
-
#3a2b99
#3a2b99
rgb(58,43,153)
-
#402fa8
#402fa8
rgb(64,47,168)
-
#4633b7
#4633b7
rgb(70,51,183)
-
#4c38c7
#4c38c7
rgb(76,56,199)
-
#5946cb
#5946cb
rgb(89,70,203)
-
#6756d0
#6756d0
rgb(103,86,208)
-
#7565d4
#7565d4
rgb(117,101,212)
-
#8274d8
#8274d8
rgb(130,116,216)
-
#9084dd
#9084dd
rgb(144,132,221)
-
#9e93e1
#9e93e1
rgb(158,147,225)
-
#aca2e5
#aca2e5
rgb(172,162,229)
-
#bab2e9
#bab2e9
rgb(186,178,233)
-
#c7c1ee
#c7c1ee
rgb(199,193,238)
-
#d5d0f2
#d5d0f2
rgb(213,208,242)
-
#e3e0f6
#e3e0f6
rgb(227,224,246)
-
#f1effb
#f1effb
rgb(241,239,251)
-
#fefeff
#fefeff
rgb(254,254,255)
Tones of #402fa8
A tone is produced by adding gray to any pure hue. In this case, #6a696e is the less saturated color, while #2206d1 is the most saturated one.
-
#6a696e
#6a696e
rgb(106,105,110)
-
#646176
#646176
rgb(100,97,118)
-
#5e587f
#5e587f
rgb(94,88,127)
-
#585087
#585087
rgb(88,80,135)
-
#52488f
#52488f
rgb(82,72,143)
-
#4c4097
#4c4097
rgb(76,64,151)
-
#4637a0
#4637a0
rgb(70,55,160)
-
#402fa8
#402fa8
rgb(64,47,168)
-
#3a27b0
#3a27b0
rgb(58,39,176)
-
#341eb9
#341eb9
rgb(52,30,185)
-
#2e16c1
#2e16c1
rgb(46,22,193)
-
#280ec9
#280ec9
rgb(40,14,201)
-
#2206d1
#2206d1
rgb(34,6,209)
Color Blindness Simulator
Below, you can see how #402fa8 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.