Shades of Royal Blue #5158E4
Tints of Royal Blue #5158E4
RGB
CMYK
RGB Variations
Color information
#5158E4 (or 0x5158E4) is known color: Royal Blue. HEX triplet: 51, 58 and E4. RGB value is (81,88,228). Sum of RGB (Red+Green+Blue) = 81+88+228=397 (52% of max value = 765). Red value is 81 (32.03% from 255 or 20.40% from 397); Green value is 88 (34.77% from 255 or 22.17% from 397); Blue value is 228 (89.45% from 255 or 57.43% from 397); Max value from RGB is 228 - color contains mainly: blue. Hex color #5158E4 is not a web safe color. Web safe color analog (approx): #6666CC. Inversed color of #5158E4 is #AEA71B. Grayscale: #656565. Windows color (decimal): -11446044 or 14964817. OLE color: 14964817.
HSL color Cylindrical-coordinate representation of color #5158E4: hue angle of 237.14º degrees, saturation: 0.73, lightness: 0.61%. HSV value (or HSB Brightness) of color is 0.89% and HSV saturation: 0.64%. Process color model (Four color, CMYK) of #5158E4 is Cyan = 0.64, Magento = 0.61, Yellow = 0 and Black (K on CMYK) = 0.11.
Color convert
| RGB | 81 | 88 | 228 | - |
| CMYK | 0.64 | 0.61 | 0 | 0.11 |
| HSL | 237.14º | 0.73% | 0.61% | - |
| HSV(B) | 237.14º | 0.64% | 0.89% | - |
| XYZ | 20.89 | 14.33 | 75.06 | - |
| YUV | 101.87 | 199.18 | 113.12 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 81 | 88 | 228 | 0.64 | 0.61 | 0 | 0.11 | 237.14 | 0.73 | 0.61 |
| Hex | 51 | 58 | E4 | 40 | 3D | 0 | B | ED | 49 | 3D |
| Octal | 121 | 130 | 344 | 100 | 75 | 0 | 13 | 355 | 111 | 75 |
| Binary | 1010001 | 1011000 | 11100100 | 1000000 | 111101 | 0 | 1011 | 11101101 | 1001001 | 111101 |
Color Harmonies of #5158E4
Complementary color
Monochromatic Colors of #5158E4
Black with #5158E4
Text Example
Text Example
White with #5158E4
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #5158E4; }
p { color: rgb(81,88,228); }
H1.HeaderClassName
{
color: #5158E4;
}
.AnyTagClassName
{
color: #5158E4;
}
</style>
background-color css
<style>
a { background-color: #5158E4; }
a { background-color: rgb(81,88,228); }
div.DivClassName
{
background-color: #5158E4;
}
.BgClassName
{
background-color: #5158E4;
}
</style>
border-color css
<style>
span { border-color: #5158E4; }
span { border-color: rgb(81,88,228); }
td.TdClassName
{
border-color: #5158E4;
}
.TagClassName
{
border-color: #5158E4;
}
</style>