Shades of Royal Blue #2871DA
Tints of Royal Blue #2871DA
RGB
CMYK
RGB Variations
Color information
#2871DA (or 0x2871DA) is known color: Royal Blue. HEX triplet: 28, 71 and DA. RGB value is (40,113,218). Sum of RGB (Red+Green+Blue) = 40+113+218=371 (49% of max value = 765). Red value is 40 (16.02% from 255 or 10.78% from 371); Green value is 113 (44.53% from 255 or 30.46% from 371); Blue value is 218 (85.55% from 255 or 58.76% from 371); Max value from RGB is 218 - color contains mainly: blue. Hex color #2871DA is not a web safe color. Web safe color analog (approx): #3366CC. Inversed color of #2871DA is #D78E25. Grayscale: #666666. Windows color (decimal): -14126630 or 14315816. OLE color: 14315816.
HSL color Cylindrical-coordinate representation of color #2871DA: hue angle of 215.39º degrees, saturation: 0.71, lightness: 0.51%. HSV value (or HSB Brightness) of color is 0.85% and HSV saturation: 0.82%. Process color model (Four color, CMYK) of #2871DA is Cyan = 0.82, Magento = 0.48, Yellow = 0 and Black (K on CMYK) = 0.15.
Color convert
| RGB | 40 | 113 | 218 | - |
| CMYK | 0.82 | 0.48 | 0 | 0.15 |
| HSL | 215.39º | 0.71% | 0.51% | - |
| HSV(B) | 215.39º | 0.82% | 0.85% | - |
| XYZ | 19.44 | 17.32 | 68.65 | - |
| YUV | 103.14 | 192.82 | 82.96 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 113 | 218 | 0.82 | 0.48 | 0 | 0.15 | 215.39 | 0.71 | 0.51 |
| Hex | 28 | 71 | DA | 52 | 30 | 0 | F | D7 | 47 | 33 |
| Octal | 50 | 161 | 332 | 122 | 60 | 0 | 17 | 327 | 107 | 63 |
| Binary | 101000 | 1110001 | 11011010 | 1010010 | 110000 | 0 | 1111 | 11010111 | 1000111 | 110011 |
Color Harmonies of #2871DA
Complementary color
Monochromatic Colors of #2871DA
Black with #2871DA
Text Example
Text Example
White with #2871DA
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2871DA; }
p { color: rgb(40,113,218); }
H1.HeaderClassName
{
color: #2871DA;
}
.AnyTagClassName
{
color: #2871DA;
}
</style>
background-color css
<style>
a { background-color: #2871DA; }
a { background-color: rgb(40,113,218); }
div.DivClassName
{
background-color: #2871DA;
}
.BgClassName
{
background-color: #2871DA;
}
</style>
border-color css
<style>
span { border-color: #2871DA; }
span { border-color: rgb(40,113,218); }
td.TdClassName
{
border-color: #2871DA;
}
.TagClassName
{
border-color: #2871DA;
}
</style>