Shades of Midnight Blue #1F238B
Tints of Midnight Blue #1F238B
RGB
CMYK
RGB Variations
Color information
#1F238B (or 0x1F238B) is known color: Midnight Blue. HEX triplet: 1F, 23 and 8B. RGB value is (31,35,139). Sum of RGB (Red+Green+Blue) = 31+35+139=205 (27% of max value = 765). Red value is 31 (12.5% from 255 or 15.12% from 205); Green value is 35 (14.06% from 255 or 17.07% from 205); Blue value is 139 (54.69% from 255 or 67.80% from 205); Max value from RGB is 139 - color contains mainly: blue. Hex color #1F238B is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #1F238B is #E0DC74. Grayscale: #2D2D2D. Windows color (decimal): -14736501 or 9118495. OLE color: 9118495.
HSL color Cylindrical-coordinate representation of color #1F238B: hue angle of 237.78º 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 #1F238B is Cyan = 0.78, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 31 | 35 | 139 | - |
| CMYK | 0.78 | 0.75 | 0 | 0.45 |
| HSL | 237.78º | 0.64% | 0.33% | - |
| HSV(B) | 237.78º | 0.78% | 0.55% | - |
| XYZ | 5.83 | 3.36 | 24.77 | - |
| YUV | 45.66 | 180.67 | 117.54 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 35 | 139 | 0.78 | 0.75 | 0 | 0.45 | 237.78 | 0.64 | 0.33 |
| Hex | 1F | 23 | 8B | 4E | 4B | 0 | 2D | EE | 40 | 21 |
| Octal | 37 | 43 | 213 | 116 | 113 | 0 | 55 | 356 | 100 | 41 |
| Binary | 11111 | 100011 | 10001011 | 1001110 | 1001011 | 0 | 101101 | 11101110 | 1000000 | 100001 |
Color Harmonies of #1F238B
Complementary color
Monochromatic Colors of #1F238B
Black with #1F238B
Text Example
Text Example
White with #1F238B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F238B; }
p { color: rgb(31,35,139); }
H1.HeaderClassName
{
color: #1F238B;
}
.AnyTagClassName
{
color: #1F238B;
}
</style>
background-color css
<style>
a { background-color: #1F238B; }
a { background-color: rgb(31,35,139); }
div.DivClassName
{
background-color: #1F238B;
}
.BgClassName
{
background-color: #1F238B;
}
</style>
border-color css
<style>
span { border-color: #1F238B; }
span { border-color: rgb(31,35,139); }
td.TdClassName
{
border-color: #1F238B;
}
.TagClassName
{
border-color: #1F238B;
}
</style>