Shades of Midnight Blue #281F7A
Tints of Midnight Blue #281F7A
RGB
CMYK
RGB Variations
Color information
#281F7A (or 0x281F7A) is known color: Midnight Blue. HEX triplet: 28, 1F and 7A. RGB value is (40,31,122). Sum of RGB (Red+Green+Blue) = 40+31+122=193 (25% of max value = 765). Red value is 40 (16.02% from 255 or 20.73% from 193); Green value is 31 (12.5% from 255 or 16.06% from 193); Blue value is 122 (48.05% from 255 or 63.21% from 193); Max value from RGB is 122 - color contains mainly: blue. Hex color #281F7A is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #281F7A is #D7E085. Grayscale: #2B2B2B. Windows color (decimal): -14147718 or 8003368. OLE color: 8003368.
HSL color Cylindrical-coordinate representation of color #281F7A: hue angle of 245.93º degrees, saturation: 0.59, 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 #281F7A is Cyan = 0.67, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 40 | 31 | 122 | - |
| CMYK | 0.67 | 0.75 | 0 | 0.52 |
| HSL | 245.93º | 0.59% | 0.3% | - |
| HSV(B) | 245.93º | 0.75% | 0.48% | - |
| XYZ | 4.88 | 2.84 | 18.7 | - |
| YUV | 44.07 | 171.98 | 125.1 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 31 | 122 | 0.67 | 0.75 | 0 | 0.52 | 245.93 | 0.59 | 0.3 |
| Hex | 28 | 1F | 7A | 43 | 4B | 0 | 34 | F6 | 3B | 1E |
| Octal | 50 | 37 | 172 | 103 | 113 | 0 | 64 | 366 | 73 | 36 |
| Binary | 101000 | 11111 | 1111010 | 1000011 | 1001011 | 0 | 110100 | 11110110 | 111011 | 11110 |
Color Harmonies of #281F7A
Complementary color
Monochromatic Colors of #281F7A
Black with #281F7A
Text Example
Text Example
White with #281F7A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #281F7A; }
p { color: rgb(40,31,122); }
H1.HeaderClassName
{
color: #281F7A;
}
.AnyTagClassName
{
color: #281F7A;
}
</style>
background-color css
<style>
a { background-color: #281F7A; }
a { background-color: rgb(40,31,122); }
div.DivClassName
{
background-color: #281F7A;
}
.BgClassName
{
background-color: #281F7A;
}
</style>
border-color css
<style>
span { border-color: #281F7A; }
span { border-color: rgb(40,31,122); }
td.TdClassName
{
border-color: #281F7A;
}
.TagClassName
{
border-color: #281F7A;
}
</style>