Shades of Midnight #1B314B
Tints of Midnight #1B314B
RGB
CMYK
RGB Variations
Color information
#1B314B (or 0x1B314B) is known color: Midnight. HEX triplet: 1B, 31 and 4B. RGB value is (27,49,75). Sum of RGB (Red+Green+Blue) = 27+49+75=151 (20% of max value = 765). Red value is 27 (10.94% from 255 or 17.88% from 151); Green value is 49 (19.53% from 255 or 32.45% from 151); Blue value is 75 (29.69% from 255 or 49.67% from 151); Max value from RGB is 75 - color contains mainly: blue. Hex color #1B314B is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1B314B is #E4CEB4. Grayscale: #2D2D2D. Windows color (decimal): -14995125 or 4927771. OLE color: 4927771.
HSL color Cylindrical-coordinate representation of color #1B314B: hue angle of 212.5º degrees, saturation: 0.47, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.29% and HSV saturation: 0.64%. Process color model (Four color, CMYK) of #1B314B is Cyan = 0.64, Magento = 0.35, Yellow = 0 and Black (K on CMYK) = 0.71.
Color convert
| RGB | 27 | 49 | 75 | - |
| CMYK | 0.64 | 0.35 | 0 | 0.71 |
| HSL | 212.5º | 0.47% | 0.2% | - |
| HSV(B) | 212.5º | 0.64% | 0.29% | - |
| XYZ | 2.82 | 2.94 | 7.07 | - |
| YUV | 45.39 | 144.71 | 114.89 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 49 | 75 | 0.64 | 0.35 | 0 | 0.71 | 212.5 | 0.47 | 0.2 |
| Hex | 1B | 31 | 4B | 40 | 23 | 0 | 47 | D4 | 2F | 14 |
| Octal | 33 | 61 | 113 | 100 | 43 | 0 | 107 | 324 | 57 | 24 |
| Binary | 11011 | 110001 | 1001011 | 1000000 | 100011 | 0 | 1000111 | 11010100 | 101111 | 10100 |
Color Harmonies of #1B314B
Complementary color
Monochromatic Colors of #1B314B
Black with #1B314B
Text Example
Text Example
White with #1B314B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B314B; }
p { color: rgb(27,49,75); }
H1.HeaderClassName
{
color: #1B314B;
}
.AnyTagClassName
{
color: #1B314B;
}
</style>
background-color css
<style>
a { background-color: #1B314B; }
a { background-color: rgb(27,49,75); }
div.DivClassName
{
background-color: #1B314B;
}
.BgClassName
{
background-color: #1B314B;
}
</style>
border-color css
<style>
span { border-color: #1B314B; }
span { border-color: rgb(27,49,75); }
td.TdClassName
{
border-color: #1B314B;
}
.TagClassName
{
border-color: #1B314B;
}
</style>