Shades of Midnight Blue #1F257A
Tints of Midnight Blue #1F257A
RGB
CMYK
RGB Variations
Color information
#1F257A (or 0x1F257A) is known color: Midnight Blue. HEX triplet: 1F, 25 and 7A. RGB value is (31,37,122). Sum of RGB (Red+Green+Blue) = 31+37+122=190 (25% of max value = 765). Red value is 31 (12.5% from 255 or 16.32% from 190); Green value is 37 (14.84% from 255 or 19.47% from 190); Blue value is 122 (48.05% from 255 or 64.21% from 190); Max value from RGB is 122 - color contains mainly: blue. Hex color #1F257A is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F257A is #E0DA85. Grayscale: #2C2C2C. Windows color (decimal): -14736006 or 8004895. OLE color: 8004895.
HSL color Cylindrical-coordinate representation of color #1F257A: hue angle of 236.04º 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 #1F257A is Cyan = 0.75, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 31 | 37 | 122 | - |
| CMYK | 0.75 | 0.70 | 0 | 0.52 |
| HSL | 236.04º | 0.59% | 0.3% | - |
| HSV(B) | 236.04º | 0.75% | 0.48% | - |
| XYZ | 4.74 | 3.02 | 18.75 | - |
| YUV | 44.9 | 171.51 | 118.09 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 37 | 122 | 0.75 | 0.70 | 0 | 0.52 | 236.04 | 0.59 | 0.3 |
| Hex | 1F | 25 | 7A | 4B | 46 | 0 | 34 | EC | 3B | 1E |
| Octal | 37 | 45 | 172 | 113 | 106 | 0 | 64 | 354 | 73 | 36 |
| Binary | 11111 | 100101 | 1111010 | 1001011 | 1000110 | 0 | 110100 | 11101100 | 111011 | 11110 |
Color Harmonies of #1F257A
Complementary color
Monochromatic Colors of #1F257A
Black with #1F257A
Text Example
Text Example
White with #1F257A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F257A; }
p { color: rgb(31,37,122); }
H1.HeaderClassName
{
color: #1F257A;
}
.AnyTagClassName
{
color: #1F257A;
}
</style>
background-color css
<style>
a { background-color: #1F257A; }
a { background-color: rgb(31,37,122); }
div.DivClassName
{
background-color: #1F257A;
}
.BgClassName
{
background-color: #1F257A;
}
</style>
border-color css
<style>
span { border-color: #1F257A; }
span { border-color: rgb(31,37,122); }
td.TdClassName
{
border-color: #1F257A;
}
.TagClassName
{
border-color: #1F257A;
}
</style>