Shades of Ultramarine #2A1F9E
Tints of Ultramarine #2A1F9E
RGB
CMYK
RGB Variations
Color information
#2A1F9E (or 0x2A1F9E) is known color: Ultramarine. HEX triplet: 2A, 1F and 9E. RGB value is (42,31,158). Sum of RGB (Red+Green+Blue) = 42+31+158=231 (30% of max value = 765). Red value is 42 (16.80% from 255 or 18.18% from 231); Green value is 31 (12.5% from 255 or 13.42% from 231); Blue value is 158 (62.11% from 255 or 68.40% from 231); Max value from RGB is 158 - color contains mainly: blue. Hex color #2A1F9E is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #2A1F9E is #D5E061. Grayscale: #303030. Windows color (decimal): -14016610 or 10362666. OLE color: 10362666.
HSL color Cylindrical-coordinate representation of color #2A1F9E: hue angle of 245.2º degrees, saturation: 0.67, lightness: 0.37%. HSV value (or HSB Brightness) of color is 0.62% and HSV saturation: 0.8%. Process color model (Four color, CMYK) of #2A1F9E is Cyan = 0.73, Magento = 0.80, Yellow = 0 and Black (K on CMYK) = 0.38.
Color convert
| RGB | 42 | 31 | 158 | - |
| CMYK | 0.73 | 0.80 | 0 | 0.38 |
| HSL | 245.2º | 0.67% | 0.37% | - |
| HSV(B) | 245.2º | 0.8% | 0.62% | - |
| XYZ | 7.62 | 3.94 | 32.71 | - |
| YUV | 48.77 | 189.64 | 123.17 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 31 | 158 | 0.73 | 0.80 | 0 | 0.38 | 245.2 | 0.67 | 0.37 |
| Hex | 2A | 1F | 9E | 49 | 50 | 0 | 26 | F5 | 43 | 25 |
| Octal | 52 | 37 | 236 | 111 | 120 | 0 | 46 | 365 | 103 | 45 |
| Binary | 101010 | 11111 | 10011110 | 1001001 | 1010000 | 0 | 100110 | 11110101 | 1000011 | 100101 |
Color Harmonies of #2A1F9E
Complementary color
Monochromatic Colors of #2A1F9E
Black with #2A1F9E
Text Example
Text Example
White with #2A1F9E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A1F9E; }
p { color: rgb(42,31,158); }
H1.HeaderClassName
{
color: #2A1F9E;
}
.AnyTagClassName
{
color: #2A1F9E;
}
</style>
background-color css
<style>
a { background-color: #2A1F9E; }
a { background-color: rgb(42,31,158); }
div.DivClassName
{
background-color: #2A1F9E;
}
.BgClassName
{
background-color: #2A1F9E;
}
</style>
border-color css
<style>
span { border-color: #2A1F9E; }
span { border-color: rgb(42,31,158); }
td.TdClassName
{
border-color: #2A1F9E;
}
.TagClassName
{
border-color: #2A1F9E;
}
</style>