Shades of Midnight Blue #281F81
Tints of Midnight Blue #281F81
RGB
CMYK
RGB Variations
Color information
#281F81 (or 0x281F81) is known color: Midnight Blue. HEX triplet: 28, 1F and 81. RGB value is (40,31,129). Sum of RGB (Red+Green+Blue) = 40+31+129=200 (26% of max value = 765). Red value is 40 (16.02% from 255 or 20% from 200); Green value is 31 (12.5% from 255 or 15.5% from 200); Blue value is 129 (50.78% from 255 or 64.5% from 200); Max value from RGB is 129 - color contains mainly: blue. Hex color #281F81 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #281F81 is #D7E07E. Grayscale: #2C2C2C. Windows color (decimal): -14147711 or 8462120. OLE color: 8462120.
HSL color Cylindrical-coordinate representation of color #281F81: hue angle of 245.51º degrees, saturation: 0.61, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.51% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #281F81 is Cyan = 0.69, Magento = 0.76, Yellow = 0 and Black (K on CMYK) = 0.49.
Color convert
| RGB | 40 | 31 | 129 | - |
| CMYK | 0.69 | 0.76 | 0 | 0.49 |
| HSL | 245.51º | 0.61% | 0.31% | - |
| HSV(B) | 245.51º | 0.76% | 0.51% | - |
| XYZ | 5.33 | 3.02 | 21.07 | - |
| YUV | 44.86 | 175.48 | 124.53 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 31 | 129 | 0.69 | 0.76 | 0 | 0.49 | 245.51 | 0.61 | 0.31 |
| Hex | 28 | 1F | 81 | 45 | 4C | 0 | 31 | F6 | 3D | 1F |
| Octal | 50 | 37 | 201 | 105 | 114 | 0 | 61 | 366 | 75 | 37 |
| Binary | 101000 | 11111 | 10000001 | 1000101 | 1001100 | 0 | 110001 | 11110110 | 111101 | 11111 |
Color Harmonies of #281F81
Complementary color
Monochromatic Colors of #281F81
Black with #281F81
Text Example
Text Example
White with #281F81
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #281F81; }
p { color: rgb(40,31,129); }
H1.HeaderClassName
{
color: #281F81;
}
.AnyTagClassName
{
color: #281F81;
}
</style>
background-color css
<style>
a { background-color: #281F81; }
a { background-color: rgb(40,31,129); }
div.DivClassName
{
background-color: #281F81;
}
.BgClassName
{
background-color: #281F81;
}
</style>
border-color css
<style>
span { border-color: #281F81; }
span { border-color: rgb(40,31,129); }
td.TdClassName
{
border-color: #281F81;
}
.TagClassName
{
border-color: #281F81;
}
</style>