Shades of Midnight Blue #281F82
Tints of Midnight Blue #281F82
RGB
CMYK
RGB Variations
Color information
#281F82 (or 0x281F82) is known color: Midnight Blue. HEX triplet: 28, 1F and 82. RGB value is (40,31,130). Sum of RGB (Red+Green+Blue) = 40+31+130=201 (26% of max value = 765). Red value is 40 (16.02% from 255 or 19.90% from 201); Green value is 31 (12.5% from 255 or 15.42% from 201); Blue value is 130 (51.17% from 255 or 64.68% from 201); Max value from RGB is 130 - color contains mainly: blue. Hex color #281F82 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #281F82 is #D7E07D. Grayscale: #2C2C2C. Windows color (decimal): -14147710 or 8527656. OLE color: 8527656.
HSL color Cylindrical-coordinate representation of color #281F82: hue angle of 245.45º degrees, saturation: 0.61, lightness: 0.32%. HSV value (or HSB Brightness) of color is 0.51% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #281F82 is Cyan = 0.69, Magento = 0.76, Yellow = 0 and Black (K on CMYK) = 0.49.
Color convert
| RGB | 40 | 31 | 130 | - |
| CMYK | 0.69 | 0.76 | 0 | 0.49 |
| HSL | 245.45º | 0.61% | 0.32% | - |
| HSV(B) | 245.45º | 0.76% | 0.51% | - |
| XYZ | 5.39 | 3.04 | 21.42 | - |
| YUV | 44.98 | 175.98 | 124.45 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 31 | 130 | 0.69 | 0.76 | 0 | 0.49 | 245.45 | 0.61 | 0.32 |
| Hex | 28 | 1F | 82 | 45 | 4C | 0 | 31 | F5 | 3D | 20 |
| Octal | 50 | 37 | 202 | 105 | 114 | 0 | 61 | 365 | 75 | 40 |
| Binary | 101000 | 11111 | 10000010 | 1000101 | 1001100 | 0 | 110001 | 11110101 | 111101 | 100000 |
Color Harmonies of #281F82
Complementary color
Monochromatic Colors of #281F82
Black with #281F82
Text Example
Text Example
White with #281F82
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #281F82; }
p { color: rgb(40,31,130); }
H1.HeaderClassName
{
color: #281F82;
}
.AnyTagClassName
{
color: #281F82;
}
</style>
background-color css
<style>
a { background-color: #281F82; }
a { background-color: rgb(40,31,130); }
div.DivClassName
{
background-color: #281F82;
}
.BgClassName
{
background-color: #281F82;
}
</style>
border-color css
<style>
span { border-color: #281F82; }
span { border-color: rgb(40,31,130); }
td.TdClassName
{
border-color: #281F82;
}
.TagClassName
{
border-color: #281F82;
}
</style>