Shades of Midnight Blue #281E7B
Tints of Midnight Blue #281E7B
RGB
CMYK
RGB Variations
Color information
#281E7B (or 0x281E7B) is known color: Midnight Blue. HEX triplet: 28, 1E and 7B. RGB value is (40,30,123). Sum of RGB (Red+Green+Blue) = 40+30+123=193 (25% of max value = 765). Red value is 40 (16.02% from 255 or 20.73% from 193); Green value is 30 (12.11% from 255 or 15.54% from 193); Blue value is 123 (48.44% from 255 or 63.73% from 193); Max value from RGB is 123 - color contains mainly: blue. Hex color #281E7B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #281E7B is #D7E184. Grayscale: #2B2B2B. Windows color (decimal): -14147973 or 8068648. OLE color: 8068648.
HSL color Cylindrical-coordinate representation of color #281E7B: hue angle of 246.45º degrees, saturation: 0.61, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #281E7B is Cyan = 0.67, Magento = 0.76, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 40 | 30 | 123 | - |
| CMYK | 0.67 | 0.76 | 0 | 0.52 |
| HSL | 246.45º | 0.61% | 0.3% | - |
| HSV(B) | 246.45º | 0.76% | 0.48% | - |
| XYZ | 4.91 | 2.81 | 19.02 | - |
| YUV | 43.59 | 172.81 | 125.44 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 30 | 123 | 0.67 | 0.76 | 0 | 0.52 | 246.45 | 0.61 | 0.3 |
| Hex | 28 | 1E | 7B | 43 | 4C | 0 | 34 | F6 | 3D | 1E |
| Octal | 50 | 36 | 173 | 103 | 114 | 0 | 64 | 366 | 75 | 36 |
| Binary | 101000 | 11110 | 1111011 | 1000011 | 1001100 | 0 | 110100 | 11110110 | 111101 | 11110 |
Color Harmonies of #281E7B
Complementary color
Monochromatic Colors of #281E7B
Black with #281E7B
Text Example
Text Example
White with #281E7B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #281E7B; }
p { color: rgb(40,30,123); }
H1.HeaderClassName
{
color: #281E7B;
}
.AnyTagClassName
{
color: #281E7B;
}
</style>
background-color css
<style>
a { background-color: #281E7B; }
a { background-color: rgb(40,30,123); }
div.DivClassName
{
background-color: #281E7B;
}
.BgClassName
{
background-color: #281E7B;
}
</style>
border-color css
<style>
span { border-color: #281E7B; }
span { border-color: rgb(40,30,123); }
td.TdClassName
{
border-color: #281E7B;
}
.TagClassName
{
border-color: #281E7B;
}
</style>