Shades of Midnight Blue #271F70
Tints of Midnight Blue #271F70
RGB
CMYK
RGB Variations
Color information
#271F70 (or 0x271F70) is known color: Midnight Blue. HEX triplet: 27, 1F and 70. RGB value is (39,31,112). Sum of RGB (Red+Green+Blue) = 39+31+112=182 (24% of max value = 765). Red value is 39 (15.62% from 255 or 21.43% from 182); Green value is 31 (12.5% from 255 or 17.03% from 182); Blue value is 112 (44.14% from 255 or 61.54% from 182); Max value from RGB is 112 - color contains mainly: blue. Hex color #271F70 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #271F70 is #D8E08F. Grayscale: #2A2A2A. Windows color (decimal): -14213264 or 7348007. OLE color: 7348007.
HSL color Cylindrical-coordinate representation of color #271F70: hue angle of 245.93º degrees, saturation: 0.57, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #271F70 is Cyan = 0.65, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 39 | 31 | 112 | - |
| CMYK | 0.65 | 0.72 | 0 | 0.56 |
| HSL | 245.93º | 0.57% | 0.28% | - |
| HSV(B) | 245.93º | 0.72% | 0.44% | - |
| XYZ | 4.25 | 2.58 | 15.6 | - |
| YUV | 42.63 | 167.15 | 125.41 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 39 | 31 | 112 | 0.65 | 0.72 | 0 | 0.56 | 245.93 | 0.57 | 0.28 |
| Hex | 27 | 1F | 70 | 41 | 48 | 0 | 38 | F6 | 39 | 1C |
| Octal | 47 | 37 | 160 | 101 | 110 | 0 | 70 | 366 | 71 | 34 |
| Binary | 100111 | 11111 | 1110000 | 1000001 | 1001000 | 0 | 111000 | 11110110 | 111001 | 11100 |
Color Harmonies of #271F70
Complementary color
Monochromatic Colors of #271F70
Black with #271F70
Text Example
Text Example
White with #271F70
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #271F70; }
p { color: rgb(39,31,112); }
H1.HeaderClassName
{
color: #271F70;
}
.AnyTagClassName
{
color: #271F70;
}
</style>
background-color css
<style>
a { background-color: #271F70; }
a { background-color: rgb(39,31,112); }
div.DivClassName
{
background-color: #271F70;
}
.BgClassName
{
background-color: #271F70;
}
</style>
border-color css
<style>
span { border-color: #271F70; }
span { border-color: rgb(39,31,112); }
td.TdClassName
{
border-color: #271F70;
}
.TagClassName
{
border-color: #271F70;
}
</style>