Shades of Midnight Blue #271F7A
Tints of Midnight Blue #271F7A
RGB
CMYK
RGB Variations
Color information
#271F7A (or 0x271F7A) is known color: Midnight Blue. HEX triplet: 27, 1F and 7A. RGB value is (39,31,122). Sum of RGB (Red+Green+Blue) = 39+31+122=192 (25% of max value = 765). Red value is 39 (15.62% from 255 or 20.31% from 192); Green value is 31 (12.5% from 255 or 16.15% from 192); Blue value is 122 (48.05% from 255 or 63.54% from 192); Max value from RGB is 122 - color contains mainly: blue. Hex color #271F7A is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #271F7A is #D8E085. Grayscale: #2B2B2B. Windows color (decimal): -14213254 or 8003367. OLE color: 8003367.
HSL color Cylindrical-coordinate representation of color #271F7A: hue angle of 245.27º degrees, saturation: 0.59, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #271F7A is Cyan = 0.68, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 39 | 31 | 122 | - |
| CMYK | 0.68 | 0.75 | 0 | 0.52 |
| HSL | 245.27º | 0.59% | 0.3% | - |
| HSV(B) | 245.27º | 0.75% | 0.48% | - |
| XYZ | 4.84 | 2.82 | 18.7 | - |
| YUV | 43.77 | 172.15 | 124.6 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 39 | 31 | 122 | 0.68 | 0.75 | 0 | 0.52 | 245.27 | 0.59 | 0.3 |
| Hex | 27 | 1F | 7A | 44 | 4B | 0 | 34 | F5 | 3B | 1E |
| Octal | 47 | 37 | 172 | 104 | 113 | 0 | 64 | 365 | 73 | 36 |
| Binary | 100111 | 11111 | 1111010 | 1000100 | 1001011 | 0 | 110100 | 11110101 | 111011 | 11110 |
Color Harmonies of #271F7A
Complementary color
Monochromatic Colors of #271F7A
Black with #271F7A
Text Example
Text Example
White with #271F7A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #271F7A; }
p { color: rgb(39,31,122); }
H1.HeaderClassName
{
color: #271F7A;
}
.AnyTagClassName
{
color: #271F7A;
}
</style>
background-color css
<style>
a { background-color: #271F7A; }
a { background-color: rgb(39,31,122); }
div.DivClassName
{
background-color: #271F7A;
}
.BgClassName
{
background-color: #271F7A;
}
</style>
border-color css
<style>
span { border-color: #271F7A; }
span { border-color: rgb(39,31,122); }
td.TdClassName
{
border-color: #271F7A;
}
.TagClassName
{
border-color: #271F7A;
}
</style>