Shades of Midnight Blue #281F78
Tints of Midnight Blue #281F78
RGB
CMYK
RGB Variations
Color information
#281F78 (or 0x281F78) is known color: Midnight Blue. HEX triplet: 28, 1F and 78. RGB value is (40,31,120). Sum of RGB (Red+Green+Blue) = 40+31+120=191 (25% of max value = 765). Red value is 40 (16.02% from 255 or 20.94% from 191); Green value is 31 (12.5% from 255 or 16.23% from 191); Blue value is 120 (47.27% from 255 or 62.83% from 191); Max value from RGB is 120 - color contains mainly: blue. Hex color #281F78 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #281F78 is #D7E087. Grayscale: #2B2B2B. Windows color (decimal): -14147720 or 7872296. OLE color: 7872296.
HSL color Cylindrical-coordinate representation of color #281F78: hue angle of 246.07º degrees, saturation: 0.59, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #281F78 is Cyan = 0.67, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 40 | 31 | 120 | - |
| CMYK | 0.67 | 0.74 | 0 | 0.53 |
| HSL | 246.07º | 0.59% | 0.3% | - |
| HSV(B) | 246.07º | 0.74% | 0.47% | - |
| XYZ | 4.76 | 2.79 | 18.06 | - |
| YUV | 43.84 | 170.98 | 125.26 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 31 | 120 | 0.67 | 0.74 | 0 | 0.53 | 246.07 | 0.59 | 0.3 |
| Hex | 28 | 1F | 78 | 43 | 4A | 0 | 35 | F6 | 3B | 1E |
| Octal | 50 | 37 | 170 | 103 | 112 | 0 | 65 | 366 | 73 | 36 |
| Binary | 101000 | 11111 | 1111000 | 1000011 | 1001010 | 0 | 110101 | 11110110 | 111011 | 11110 |
Color Harmonies of #281F78
Complementary color
Monochromatic Colors of #281F78
Black with #281F78
Text Example
Text Example
White with #281F78
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #281F78; }
p { color: rgb(40,31,120); }
H1.HeaderClassName
{
color: #281F78;
}
.AnyTagClassName
{
color: #281F78;
}
</style>
background-color css
<style>
a { background-color: #281F78; }
a { background-color: rgb(40,31,120); }
div.DivClassName
{
background-color: #281F78;
}
.BgClassName
{
background-color: #281F78;
}
</style>
border-color css
<style>
span { border-color: #281F78; }
span { border-color: rgb(40,31,120); }
td.TdClassName
{
border-color: #281F78;
}
.TagClassName
{
border-color: #281F78;
}
</style>