Shades of Midnight Blue #271F76
Tints of Midnight Blue #271F76
RGB
CMYK
RGB Variations
Color information
#271F76 (or 0x271F76) is known color: Midnight Blue. HEX triplet: 27, 1F and 76. RGB value is (39,31,118). Sum of RGB (Red+Green+Blue) = 39+31+118=188 (24% of max value = 765). Red value is 39 (15.62% from 255 or 20.74% from 188); Green value is 31 (12.5% from 255 or 16.49% from 188); Blue value is 118 (46.48% from 255 or 62.77% from 188); Max value from RGB is 118 - color contains mainly: blue. Hex color #271F76 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #271F76 is #D8E089. Grayscale: #2A2A2A. Windows color (decimal): -14213258 or 7741223. OLE color: 7741223.
HSL color Cylindrical-coordinate representation of color #271F76: hue angle of 245.52º degrees, saturation: 0.58, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.46% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #271F76 is Cyan = 0.67, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.54.
Color convert
| RGB | 39 | 31 | 118 | - |
| CMYK | 0.67 | 0.74 | 0 | 0.54 |
| HSL | 245.52º | 0.58% | 0.29% | - |
| HSV(B) | 245.52º | 0.74% | 0.46% | - |
| XYZ | 4.6 | 2.72 | 17.42 | - |
| YUV | 43.31 | 170.15 | 124.93 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 39 | 31 | 118 | 0.67 | 0.74 | 0 | 0.54 | 245.52 | 0.58 | 0.29 |
| Hex | 27 | 1F | 76 | 43 | 4A | 0 | 36 | F6 | 3A | 1D |
| Octal | 47 | 37 | 166 | 103 | 112 | 0 | 66 | 366 | 72 | 35 |
| Binary | 100111 | 11111 | 1110110 | 1000011 | 1001010 | 0 | 110110 | 11110110 | 111010 | 11101 |
Color Harmonies of #271F76
Complementary color
Monochromatic Colors of #271F76
Black with #271F76
Text Example
Text Example
White with #271F76
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #271F76; }
p { color: rgb(39,31,118); }
H1.HeaderClassName
{
color: #271F76;
}
.AnyTagClassName
{
color: #271F76;
}
</style>
background-color css
<style>
a { background-color: #271F76; }
a { background-color: rgb(39,31,118); }
div.DivClassName
{
background-color: #271F76;
}
.BgClassName
{
background-color: #271F76;
}
</style>
border-color css
<style>
span { border-color: #271F76; }
span { border-color: rgb(39,31,118); }
td.TdClassName
{
border-color: #271F76;
}
.TagClassName
{
border-color: #271F76;
}
</style>