Shades of Midnight Blue #1F256B
Tints of Midnight Blue #1F256B
RGB
CMYK
RGB Variations
Color information
#1F256B (or 0x1F256B) is known color: Midnight Blue. HEX triplet: 1F, 25 and 6B. RGB value is (31,37,107). Sum of RGB (Red+Green+Blue) = 31+37+107=175 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.71% from 175); Green value is 37 (14.84% from 255 or 21.14% from 175); Blue value is 107 (42.19% from 255 or 61.14% from 175); Max value from RGB is 107 - color contains mainly: blue. Hex color #1F256B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F256B is #E0DA94. Grayscale: #2A2A2A. Windows color (decimal): -14736021 or 7021855. OLE color: 7021855.
HSL color Cylindrical-coordinate representation of color #1F256B: hue angle of 235.26º degrees, saturation: 0.55, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.71%. Process color model (Four color, CMYK) of #1F256B is Cyan = 0.71, Magento = 0.65, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 31 | 37 | 107 | - |
| CMYK | 0.71 | 0.65 | 0 | 0.58 |
| HSL | 235.26º | 0.55% | 0.27% | - |
| HSV(B) | 235.26º | 0.71% | 0.42% | - |
| XYZ | 3.88 | 2.68 | 14.22 | - |
| YUV | 43.19 | 164.01 | 119.31 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 37 | 107 | 0.71 | 0.65 | 0 | 0.58 | 235.26 | 0.55 | 0.27 |
| Hex | 1F | 25 | 6B | 47 | 41 | 0 | 3A | EB | 37 | 1B |
| Octal | 37 | 45 | 153 | 107 | 101 | 0 | 72 | 353 | 67 | 33 |
| Binary | 11111 | 100101 | 1101011 | 1000111 | 1000001 | 0 | 111010 | 11101011 | 110111 | 11011 |
Color Harmonies of #1F256B
Complementary color
Monochromatic Colors of #1F256B
Black with #1F256B
Text Example
Text Example
White with #1F256B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F256B; }
p { color: rgb(31,37,107); }
H1.HeaderClassName
{
color: #1F256B;
}
.AnyTagClassName
{
color: #1F256B;
}
</style>
background-color css
<style>
a { background-color: #1F256B; }
a { background-color: rgb(31,37,107); }
div.DivClassName
{
background-color: #1F256B;
}
.BgClassName
{
background-color: #1F256B;
}
</style>
border-color css
<style>
span { border-color: #1F256B; }
span { border-color: rgb(31,37,107); }
td.TdClassName
{
border-color: #1F256B;
}
.TagClassName
{
border-color: #1F256B;
}
</style>