Shades of Midnight Blue #281F76
Tints of Midnight Blue #281F76
RGB
CMYK
RGB Variations
Color information
#281F76 (or 0x281F76) is known color: Midnight Blue. HEX triplet: 28, 1F and 76. RGB value is (40,31,118). Sum of RGB (Red+Green+Blue) = 40+31+118=189 (25% of max value = 765). Red value is 40 (16.02% from 255 or 21.16% from 189); Green value is 31 (12.5% from 255 or 16.40% from 189); Blue value is 118 (46.48% from 255 or 62.43% from 189); Max value from RGB is 118 - color contains mainly: blue. Hex color #281F76 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #281F76 is #D7E089. Grayscale: #2B2B2B. Windows color (decimal): -14147722 or 7741224. OLE color: 7741224.
HSL color Cylindrical-coordinate representation of color #281F76: hue angle of 246.21º degrees, saturation: 0.58, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.46% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #281F76 is Cyan = 0.66, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.54.
Color convert
| RGB | 40 | 31 | 118 | - |
| CMYK | 0.66 | 0.74 | 0 | 0.54 |
| HSL | 246.21º | 0.58% | 0.29% | - |
| HSV(B) | 246.21º | 0.74% | 0.46% | - |
| XYZ | 4.64 | 2.74 | 17.42 | - |
| YUV | 43.61 | 169.98 | 125.43 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 31 | 118 | 0.66 | 0.74 | 0 | 0.54 | 246.21 | 0.58 | 0.29 |
| Hex | 28 | 1F | 76 | 42 | 4A | 0 | 36 | F6 | 3A | 1D |
| Octal | 50 | 37 | 166 | 102 | 112 | 0 | 66 | 366 | 72 | 35 |
| Binary | 101000 | 11111 | 1110110 | 1000010 | 1001010 | 0 | 110110 | 11110110 | 111010 | 11101 |
Color Harmonies of #281F76
Complementary color
Monochromatic Colors of #281F76
Black with #281F76
Text Example
Text Example
White with #281F76
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #281F76; }
p { color: rgb(40,31,118); }
H1.HeaderClassName
{
color: #281F76;
}
.AnyTagClassName
{
color: #281F76;
}
</style>
background-color css
<style>
a { background-color: #281F76; }
a { background-color: rgb(40,31,118); }
div.DivClassName
{
background-color: #281F76;
}
.BgClassName
{
background-color: #281F76;
}
</style>
border-color css
<style>
span { border-color: #281F76; }
span { border-color: rgb(40,31,118); }
td.TdClassName
{
border-color: #281F76;
}
.TagClassName
{
border-color: #281F76;
}
</style>