Shades of Royal Blue #2871F2
Tints of Royal Blue #2871F2
RGB
CMYK
RGB Variations
Color information
#2871F2 (or 0x2871F2) is known color: Royal Blue. HEX triplet: 28, 71 and F2. RGB value is (40,113,242). Sum of RGB (Red+Green+Blue) = 40+113+242=395 (52% of max value = 765). Red value is 40 (16.02% from 255 or 10.13% from 395); Green value is 113 (44.53% from 255 or 28.61% from 395); Blue value is 242 (94.92% from 255 or 61.27% from 395); Max value from RGB is 242 - color contains mainly: blue. Hex color #2871F2 is not a web safe color. Web safe color analog (approx): #3366FF. Inversed color of #2871F2 is #D78E0D. Grayscale: #696969. Windows color (decimal): -14126606 or 15888680. OLE color: 15888680.
HSL color Cylindrical-coordinate representation of color #2871F2: hue angle of 218.32º degrees, saturation: 0.89, lightness: 0.55%. HSV value (or HSB Brightness) of color is 0.95% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #2871F2 is Cyan = 0.83, Magento = 0.53, Yellow = 0 and Black (K on CMYK) = 0.05.
Color convert
| RGB | 40 | 113 | 242 | - |
| CMYK | 0.83 | 0.53 | 0 | 0.05 |
| HSL | 218.32º | 0.89% | 0.55% | - |
| HSV(B) | 218.32º | 0.83% | 0.95% | - |
| XYZ | 22.81 | 18.67 | 86.41 | - |
| YUV | 105.88 | 204.82 | 81.01 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 113 | 242 | 0.83 | 0.53 | 0 | 0.05 | 218.32 | 0.89 | 0.55 |
| Hex | 28 | 71 | F2 | 53 | 35 | 0 | 5 | DA | 59 | 37 |
| Octal | 50 | 161 | 362 | 123 | 65 | 0 | 5 | 332 | 131 | 67 |
| Binary | 101000 | 1110001 | 11110010 | 1010011 | 110101 | 0 | 101 | 11011010 | 1011001 | 110111 |
Color Harmonies of #2871F2
Complementary color
Monochromatic Colors of #2871F2
Black with #2871F2
Text Example
Text Example
White with #2871F2
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2871F2; }
p { color: rgb(40,113,242); }
H1.HeaderClassName
{
color: #2871F2;
}
.AnyTagClassName
{
color: #2871F2;
}
</style>
background-color css
<style>
a { background-color: #2871F2; }
a { background-color: rgb(40,113,242); }
div.DivClassName
{
background-color: #2871F2;
}
.BgClassName
{
background-color: #2871F2;
}
</style>
border-color css
<style>
span { border-color: #2871F2; }
span { border-color: rgb(40,113,242); }
td.TdClassName
{
border-color: #2871F2;
}
.TagClassName
{
border-color: #2871F2;
}
</style>