Shades of Midnight Blue #1F1C5F
Tints of Midnight Blue #1F1C5F
RGB
CMYK
RGB Variations
Color information
#1F1C5F (or 0x1F1C5F) is known color: Midnight Blue. HEX triplet: 1F, 1C and 5F. RGB value is (31,28,95). Sum of RGB (Red+Green+Blue) = 31+28+95=154 (20% of max value = 765). Red value is 31 (12.5% from 255 or 20.13% from 154); Green value is 28 (11.33% from 255 or 18.18% from 154); Blue value is 95 (37.5% from 255 or 61.69% from 154); Max value from RGB is 95 - color contains mainly: blue. Hex color #1F1C5F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F1C5F is #E0E3A0. Grayscale: #242424. Windows color (decimal): -14738337 or 6233119. OLE color: 6233119.
HSL color Cylindrical-coordinate representation of color #1F1C5F: hue angle of 242.69º degrees, saturation: 0.54, lightness: 0.24%. HSV value (or HSB Brightness) of color is 0.37% and HSV saturation: 0.71%. Process color model (Four color, CMYK) of #1F1C5F is Cyan = 0.67, Magento = 0.71, Yellow = 0 and Black (K on CMYK) = 0.63.
Color convert
| RGB | 31 | 28 | 95 | - |
| CMYK | 0.67 | 0.71 | 0 | 0.63 |
| HSL | 242.69º | 0.54% | 0.24% | - |
| HSV(B) | 242.69º | 0.71% | 0.37% | - |
| XYZ | 3.05 | 1.95 | 11.04 | - |
| YUV | 36.54 | 160.99 | 124.05 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 28 | 95 | 0.67 | 0.71 | 0 | 0.63 | 242.69 | 0.54 | 0.24 |
| Hex | 1F | 1C | 5F | 43 | 47 | 0 | 3F | F3 | 36 | 18 |
| Octal | 37 | 34 | 137 | 103 | 107 | 0 | 77 | 363 | 66 | 30 |
| Binary | 11111 | 11100 | 1011111 | 1000011 | 1000111 | 0 | 111111 | 11110011 | 110110 | 11000 |
Color Harmonies of #1F1C5F
Complementary color
Monochromatic Colors of #1F1C5F
Black with #1F1C5F
Text Example
Text Example
White with #1F1C5F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1C5F; }
p { color: rgb(31,28,95); }
H1.HeaderClassName
{
color: #1F1C5F;
}
.AnyTagClassName
{
color: #1F1C5F;
}
</style>
background-color css
<style>
a { background-color: #1F1C5F; }
a { background-color: rgb(31,28,95); }
div.DivClassName
{
background-color: #1F1C5F;
}
.BgClassName
{
background-color: #1F1C5F;
}
</style>
border-color css
<style>
span { border-color: #1F1C5F; }
span { border-color: rgb(31,28,95); }
td.TdClassName
{
border-color: #1F1C5F;
}
.TagClassName
{
border-color: #1F1C5F;
}
</style>