Shades of Midnight Blue #281F7B
Tints of Midnight Blue #281F7B
RGB
CMYK
RGB Variations
Color information
#281F7B (or 0x281F7B) is known color: Midnight Blue. HEX triplet: 28, 1F and 7B. RGB value is (40,31,123). Sum of RGB (Red+Green+Blue) = 40+31+123=194 (25% of max value = 765). Red value is 40 (16.02% from 255 or 20.62% from 194); Green value is 31 (12.5% from 255 or 15.98% from 194); Blue value is 123 (48.44% from 255 or 63.40% from 194); Max value from RGB is 123 - color contains mainly: blue. Hex color #281F7B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #281F7B is #D7E084. Grayscale: #2B2B2B. Windows color (decimal): -14147717 or 8068904. OLE color: 8068904.
HSL color Cylindrical-coordinate representation of color #281F7B: hue angle of 245.87º degrees, saturation: 0.6, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #281F7B is Cyan = 0.67, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 40 | 31 | 123 | - |
| CMYK | 0.67 | 0.75 | 0 | 0.52 |
| HSL | 245.87º | 0.6% | 0.3% | - |
| HSV(B) | 245.87º | 0.75% | 0.48% | - |
| XYZ | 4.94 | 2.86 | 19.03 | - |
| YUV | 44.18 | 172.48 | 125.02 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 31 | 123 | 0.67 | 0.75 | 0 | 0.52 | 245.87 | 0.6 | 0.3 |
| Hex | 28 | 1F | 7B | 43 | 4B | 0 | 34 | F6 | 3C | 1E |
| Octal | 50 | 37 | 173 | 103 | 113 | 0 | 64 | 366 | 74 | 36 |
| Binary | 101000 | 11111 | 1111011 | 1000011 | 1001011 | 0 | 110100 | 11110110 | 111100 | 11110 |
Color Harmonies of #281F7B
Complementary color
Monochromatic Colors of #281F7B
Black with #281F7B
Text Example
Text Example
White with #281F7B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #281F7B; }
p { color: rgb(40,31,123); }
H1.HeaderClassName
{
color: #281F7B;
}
.AnyTagClassName
{
color: #281F7B;
}
</style>
background-color css
<style>
a { background-color: #281F7B; }
a { background-color: rgb(40,31,123); }
div.DivClassName
{
background-color: #281F7B;
}
.BgClassName
{
background-color: #281F7B;
}
</style>
border-color css
<style>
span { border-color: #281F7B; }
span { border-color: rgb(40,31,123); }
td.TdClassName
{
border-color: #281F7B;
}
.TagClassName
{
border-color: #281F7B;
}
</style>