Shades of Midnight Blue #281F70
Tints of Midnight Blue #281F70
RGB
CMYK
RGB Variations
Color information
#281F70 (or 0x281F70) is known color: Midnight Blue. HEX triplet: 28, 1F and 70. RGB value is (40,31,112). Sum of RGB (Red+Green+Blue) = 40+31+112=183 (24% of max value = 765). Red value is 40 (16.02% from 255 or 21.86% from 183); Green value is 31 (12.5% from 255 or 16.94% from 183); Blue value is 112 (44.14% from 255 or 61.20% from 183); Max value from RGB is 112 - color contains mainly: blue. Hex color #281F70 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #281F70 is #D7E08F. Grayscale: #2A2A2A. Windows color (decimal): -14147728 or 7348008. OLE color: 7348008.
HSL color Cylindrical-coordinate representation of color #281F70: hue angle of 246.67º degrees, saturation: 0.57, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #281F70 is Cyan = 0.64, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 40 | 31 | 112 | - |
| CMYK | 0.64 | 0.72 | 0 | 0.56 |
| HSL | 246.67º | 0.57% | 0.28% | - |
| HSV(B) | 246.67º | 0.72% | 0.44% | - |
| XYZ | 4.29 | 2.6 | 15.61 | - |
| YUV | 42.93 | 166.98 | 125.91 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 31 | 112 | 0.64 | 0.72 | 0 | 0.56 | 246.67 | 0.57 | 0.28 |
| Hex | 28 | 1F | 70 | 40 | 48 | 0 | 38 | F7 | 39 | 1C |
| Octal | 50 | 37 | 160 | 100 | 110 | 0 | 70 | 367 | 71 | 34 |
| Binary | 101000 | 11111 | 1110000 | 1000000 | 1001000 | 0 | 111000 | 11110111 | 111001 | 11100 |
Color Harmonies of #281F70
Complementary color
Monochromatic Colors of #281F70
Black with #281F70
Text Example
Text Example
White with #281F70
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #281F70; }
p { color: rgb(40,31,112); }
H1.HeaderClassName
{
color: #281F70;
}
.AnyTagClassName
{
color: #281F70;
}
</style>
background-color css
<style>
a { background-color: #281F70; }
a { background-color: rgb(40,31,112); }
div.DivClassName
{
background-color: #281F70;
}
.BgClassName
{
background-color: #281F70;
}
</style>
border-color css
<style>
span { border-color: #281F70; }
span { border-color: rgb(40,31,112); }
td.TdClassName
{
border-color: #281F70;
}
.TagClassName
{
border-color: #281F70;
}
</style>