Shades of Midnight Blue #1F228A
Tints of Midnight Blue #1F228A
RGB
CMYK
RGB Variations
Color information
#1F228A (or 0x1F228A) is known color: Midnight Blue. HEX triplet: 1F, 22 and 8A. RGB value is (31,34,138). Sum of RGB (Red+Green+Blue) = 31+34+138=203 (26% of max value = 765). Red value is 31 (12.5% from 255 or 15.27% from 203); Green value is 34 (13.67% from 255 or 16.75% from 203); Blue value is 138 (54.30% from 255 or 67.98% from 203); Max value from RGB is 138 - color contains mainly: blue. Hex color #1F228A is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #1F228A is #E0DD75. Grayscale: #2C2C2C. Windows color (decimal): -14736758 or 9052703. OLE color: 9052703.
HSL color Cylindrical-coordinate representation of color #1F228A: hue angle of 238.32º degrees, saturation: 0.63, lightness: 0.33%. HSV value (or HSB Brightness) of color is 0.54% and HSV saturation: 0.78%. Process color model (Four color, CMYK) of #1F228A is Cyan = 0.78, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.46.
Color convert
| RGB | 31 | 34 | 138 | - |
| CMYK | 0.78 | 0.75 | 0 | 0.46 |
| HSL | 238.32º | 0.63% | 0.33% | - |
| HSV(B) | 238.32º | 0.78% | 0.54% | - |
| XYZ | 5.72 | 3.27 | 24.37 | - |
| YUV | 44.96 | 180.51 | 118.04 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 34 | 138 | 0.78 | 0.75 | 0 | 0.46 | 238.32 | 0.63 | 0.33 |
| Hex | 1F | 22 | 8A | 4E | 4B | 0 | 2E | EE | 3F | 21 |
| Octal | 37 | 42 | 212 | 116 | 113 | 0 | 56 | 356 | 77 | 41 |
| Binary | 11111 | 100010 | 10001010 | 1001110 | 1001011 | 0 | 101110 | 11101110 | 111111 | 100001 |
Color Harmonies of #1F228A
Complementary color
Monochromatic Colors of #1F228A
Black with #1F228A
Text Example
Text Example
White with #1F228A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F228A; }
p { color: rgb(31,34,138); }
H1.HeaderClassName
{
color: #1F228A;
}
.AnyTagClassName
{
color: #1F228A;
}
</style>
background-color css
<style>
a { background-color: #1F228A; }
a { background-color: rgb(31,34,138); }
div.DivClassName
{
background-color: #1F228A;
}
.BgClassName
{
background-color: #1F228A;
}
</style>
border-color css
<style>
span { border-color: #1F228A; }
span { border-color: rgb(31,34,138); }
td.TdClassName
{
border-color: #1F228A;
}
.TagClassName
{
border-color: #1F228A;
}
</style>