Shades of Midnight Blue #271F7C
Tints of Midnight Blue #271F7C
RGB
CMYK
RGB Variations
Color information
#271F7C (or 0x271F7C) is known color: Midnight Blue. HEX triplet: 27, 1F and 7C. RGB value is (39,31,124). Sum of RGB (Red+Green+Blue) = 39+31+124=194 (25% of max value = 765). Red value is 39 (15.62% from 255 or 20.10% from 194); Green value is 31 (12.5% from 255 or 15.98% from 194); Blue value is 124 (48.83% from 255 or 63.92% from 194); Max value from RGB is 124 - color contains mainly: blue. Hex color #271F7C is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #271F7C is #D8E083. Grayscale: #2B2B2B. Windows color (decimal): -14213252 or 8134439. OLE color: 8134439.
HSL color Cylindrical-coordinate representation of color #271F7C: hue angle of 245.16º degrees, saturation: 0.6, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #271F7C is Cyan = 0.69, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 39 | 31 | 124 | - |
| CMYK | 0.69 | 0.75 | 0 | 0.51 |
| HSL | 245.16º | 0.6% | 0.3% | - |
| HSV(B) | 245.16º | 0.75% | 0.49% | - |
| XYZ | 4.96 | 2.87 | 19.36 | - |
| YUV | 43.99 | 173.15 | 124.44 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 39 | 31 | 124 | 0.69 | 0.75 | 0 | 0.51 | 245.16 | 0.6 | 0.3 |
| Hex | 27 | 1F | 7C | 45 | 4B | 0 | 33 | F5 | 3C | 1E |
| Octal | 47 | 37 | 174 | 105 | 113 | 0 | 63 | 365 | 74 | 36 |
| Binary | 100111 | 11111 | 1111100 | 1000101 | 1001011 | 0 | 110011 | 11110101 | 111100 | 11110 |
Color Harmonies of #271F7C
Complementary color
Monochromatic Colors of #271F7C
Black with #271F7C
Text Example
Text Example
White with #271F7C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #271F7C; }
p { color: rgb(39,31,124); }
H1.HeaderClassName
{
color: #271F7C;
}
.AnyTagClassName
{
color: #271F7C;
}
</style>
background-color css
<style>
a { background-color: #271F7C; }
a { background-color: rgb(39,31,124); }
div.DivClassName
{
background-color: #271F7C;
}
.BgClassName
{
background-color: #271F7C;
}
</style>
border-color css
<style>
span { border-color: #271F7C; }
span { border-color: rgb(39,31,124); }
td.TdClassName
{
border-color: #271F7C;
}
.TagClassName
{
border-color: #271F7C;
}
</style>