Shades of Midnight Blue #1F248B
Tints of Midnight Blue #1F248B
RGB
CMYK
RGB Variations
Color information
#1F248B (or 0x1F248B) is known color: Midnight Blue. HEX triplet: 1F, 24 and 8B. RGB value is (31,36,139). Sum of RGB (Red+Green+Blue) = 31+36+139=206 (27% of max value = 765). Red value is 31 (12.5% from 255 or 15.05% from 206); Green value is 36 (14.45% from 255 or 17.48% from 206); Blue value is 139 (54.69% from 255 or 67.48% from 206); Max value from RGB is 139 - color contains mainly: blue. Hex color #1F248B is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #1F248B is #E0DB74. Grayscale: #2D2D2D. Windows color (decimal): -14736245 or 9118751. OLE color: 9118751.
HSL color Cylindrical-coordinate representation of color #1F248B: hue angle of 237.22º degrees, saturation: 0.64, lightness: 0.33%. HSV value (or HSB Brightness) of color is 0.55% and HSV saturation: 0.78%. Process color model (Four color, CMYK) of #1F248B is Cyan = 0.78, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 31 | 36 | 139 | - |
| CMYK | 0.78 | 0.74 | 0 | 0.45 |
| HSL | 237.22º | 0.64% | 0.33% | - |
| HSV(B) | 237.22º | 0.78% | 0.55% | - |
| XYZ | 5.86 | 3.42 | 24.78 | - |
| YUV | 46.25 | 180.34 | 117.12 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 36 | 139 | 0.78 | 0.74 | 0 | 0.45 | 237.22 | 0.64 | 0.33 |
| Hex | 1F | 24 | 8B | 4E | 4A | 0 | 2D | ED | 40 | 21 |
| Octal | 37 | 44 | 213 | 116 | 112 | 0 | 55 | 355 | 100 | 41 |
| Binary | 11111 | 100100 | 10001011 | 1001110 | 1001010 | 0 | 101101 | 11101101 | 1000000 | 100001 |
Color Harmonies of #1F248B
Complementary color
Monochromatic Colors of #1F248B
Black with #1F248B
Text Example
Text Example
White with #1F248B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F248B; }
p { color: rgb(31,36,139); }
H1.HeaderClassName
{
color: #1F248B;
}
.AnyTagClassName
{
color: #1F248B;
}
</style>
background-color css
<style>
a { background-color: #1F248B; }
a { background-color: rgb(31,36,139); }
div.DivClassName
{
background-color: #1F248B;
}
.BgClassName
{
background-color: #1F248B;
}
</style>
border-color css
<style>
span { border-color: #1F248B; }
span { border-color: rgb(31,36,139); }
td.TdClassName
{
border-color: #1F248B;
}
.TagClassName
{
border-color: #1F248B;
}
</style>