Shades of Midnight Blue #271F7E
Tints of Midnight Blue #271F7E
RGB
CMYK
RGB Variations
Color information
#271F7E (or 0x271F7E) is known color: Midnight Blue. HEX triplet: 27, 1F and 7E. RGB value is (39,31,126). Sum of RGB (Red+Green+Blue) = 39+31+126=196 (25% of max value = 765). Red value is 39 (15.62% from 255 or 19.90% from 196); Green value is 31 (12.5% from 255 or 15.82% from 196); Blue value is 126 (49.61% from 255 or 64.29% from 196); Max value from RGB is 126 - color contains mainly: blue. Hex color #271F7E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #271F7E is #D8E081. Grayscale: #2B2B2B. Windows color (decimal): -14213250 or 8265511. OLE color: 8265511.
HSL color Cylindrical-coordinate representation of color #271F7E: hue angle of 245.05º degrees, saturation: 0.61, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #271F7E is Cyan = 0.69, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 39 | 31 | 126 | - |
| CMYK | 0.69 | 0.75 | 0 | 0.51 |
| HSL | 245.05º | 0.61% | 0.31% | - |
| HSV(B) | 245.05º | 0.75% | 0.49% | - |
| XYZ | 5.09 | 2.92 | 20.03 | - |
| YUV | 44.22 | 174.15 | 124.28 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 39 | 31 | 126 | 0.69 | 0.75 | 0 | 0.51 | 245.05 | 0.61 | 0.31 |
| Hex | 27 | 1F | 7E | 45 | 4B | 0 | 33 | F5 | 3D | 1F |
| Octal | 47 | 37 | 176 | 105 | 113 | 0 | 63 | 365 | 75 | 37 |
| Binary | 100111 | 11111 | 1111110 | 1000101 | 1001011 | 0 | 110011 | 11110101 | 111101 | 11111 |
Color Harmonies of #271F7E
Complementary color
Monochromatic Colors of #271F7E
Black with #271F7E
Text Example
Text Example
White with #271F7E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #271F7E; }
p { color: rgb(39,31,126); }
H1.HeaderClassName
{
color: #271F7E;
}
.AnyTagClassName
{
color: #271F7E;
}
</style>
background-color css
<style>
a { background-color: #271F7E; }
a { background-color: rgb(39,31,126); }
div.DivClassName
{
background-color: #271F7E;
}
.BgClassName
{
background-color: #271F7E;
}
</style>
border-color css
<style>
span { border-color: #271F7E; }
span { border-color: rgb(39,31,126); }
td.TdClassName
{
border-color: #271F7E;
}
.TagClassName
{
border-color: #271F7E;
}
</style>