Shades of Royal Blue #2871E4
Tints of Royal Blue #2871E4
RGB
CMYK
RGB Variations
Color information
#2871E4 (or 0x2871E4) is known color: Royal Blue. HEX triplet: 28, 71 and E4. RGB value is (40,113,228). Sum of RGB (Red+Green+Blue) = 40+113+228=381 (50% of max value = 765). Red value is 40 (16.02% from 255 or 10.50% from 381); Green value is 113 (44.53% from 255 or 29.66% from 381); Blue value is 228 (89.45% from 255 or 59.84% from 381); Max value from RGB is 228 - color contains mainly: blue. Hex color #2871E4 is not a web safe color. Web safe color analog (approx): #3366CC. Inversed color of #2871E4 is #D78E1B. Grayscale: #676767. Windows color (decimal): -14126620 or 14971176. OLE color: 14971176.
HSL color Cylindrical-coordinate representation of color #2871E4: hue angle of 216.7º degrees, saturation: 0.78, lightness: 0.53%. HSV value (or HSB Brightness) of color is 0.89% and HSV saturation: 0.82%. Process color model (Four color, CMYK) of #2871E4 is Cyan = 0.82, Magento = 0.50, Yellow = 0 and Black (K on CMYK) = 0.11.
Color convert
| RGB | 40 | 113 | 228 | - |
| CMYK | 0.82 | 0.50 | 0 | 0.11 |
| HSL | 216.7º | 0.78% | 0.53% | - |
| HSV(B) | 216.7º | 0.82% | 0.89% | - |
| XYZ | 20.78 | 17.86 | 75.75 | - |
| YUV | 104.28 | 197.82 | 82.15 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 113 | 228 | 0.82 | 0.50 | 0 | 0.11 | 216.7 | 0.78 | 0.53 |
| Hex | 28 | 71 | E4 | 52 | 32 | 0 | B | D9 | 4E | 35 |
| Octal | 50 | 161 | 344 | 122 | 62 | 0 | 13 | 331 | 116 | 65 |
| Binary | 101000 | 1110001 | 11100100 | 1010010 | 110010 | 0 | 1011 | 11011001 | 1001110 | 110101 |
Color Harmonies of #2871E4
Complementary color
Monochromatic Colors of #2871E4
Black with #2871E4
Text Example
Text Example
White with #2871E4
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2871E4; }
p { color: rgb(40,113,228); }
H1.HeaderClassName
{
color: #2871E4;
}
.AnyTagClassName
{
color: #2871E4;
}
</style>
background-color css
<style>
a { background-color: #2871E4; }
a { background-color: rgb(40,113,228); }
div.DivClassName
{
background-color: #2871E4;
}
.BgClassName
{
background-color: #2871E4;
}
</style>
border-color css
<style>
span { border-color: #2871E4; }
span { border-color: rgb(40,113,228); }
td.TdClassName
{
border-color: #2871E4;
}
.TagClassName
{
border-color: #2871E4;
}
</style>