Html Css Color HEX #1F2A76 Midnight Blue

📋 copy color: '#1F2A76'

red 31 ◦ green 42 ◦ blue 118

#1F2A76
Download Color Icon.PNG:
16x16 32x32 64x64 128x128 256x256

Shades of Midnight Blue #1F2A76

Tints of Midnight Blue #1F2A76

RGB

 RED value IS 31 (12.5% from 255) = 16.23%

 GREEN value IS 42 (16.8% from 255) = 21.99%

 BLUE value IS 118 (46.48% from 255) = 61.78%

R = 16.23%
G = 21.99%
B = 61.78%

CMYK

 C value IS 0.74

 M value IS 0.64

 Y value IS 0

 K value IS 0.54

RGB Variations

RGB:
RBG:
GRB:
GBR:
BRG:
BGR:

Color information

#1F2A76 (or 0x1F2A76) is known color: Midnight Blue. HEX triplet: 1F, 2A and 76. RGB value is (31,42,118). Sum of RGB (Red+Green+Blue) = 31+42+118=191 (25% of max value = 765). Red value is 31 (12.5% from 255 or 16.23% from 191); Green value is 42 (16.80% from 255 or 21.99% from 191); Blue value is 118 (46.48% from 255 or 61.78% from 191); Max value from RGB is 118 - color contains mainly: blue. Hex color #1F2A76 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2A76 is #E0D589. Grayscale: #2F2F2F. Windows color (decimal): -14734730 or 7744031. OLE color: 7744031.

HSL color Cylindrical-coordinate representation of color #1F2A76: hue angle of 232.41º degrees, saturation: 0.58, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.46% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #1F2A76 is Cyan = 0.74, Magento = 0.64, Yellow = 0 and Black (K on CMYK) = 0.54.

Color convert

RGB 31 42 118 -
CMYK 0.74 0.64 0 0.54
HSL 232.41º 0.58% 0.29% -
HSV(B) 232.41º 0.74% 0.46% -
XYZ 4.66 3.26 17.52 -
YUV 47.38 167.86 116.32 -
System Red Green Blue C M Y K H S L
Decimal 31 42 118 0.74 0.64 0 0.54 232.41 0.58 0.29
Hex 1F 2A 76 4A 40 0 36 E8 3A 1D
Octal 37 52 166 112 100 0 66 350 72 35
Binary 11111 101010 1110110 1001010 1000000 0 110110 11101000 111010 11101

Color Harmonies of #1F2A76

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #1F2A76

Black with #1F2A76

Text Example


Text Example

White with #1F2A76

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #1F2A76; }

 p { color: rgb(31,42,118); }

 H1.HeaderClassName
 {
   color: #1F2A76;
 }
 .AnyTagClassName
 {
   color: #1F2A76;
 }
</style>

background-color css

<style>
 a { background-color: #1F2A76; }

 a { background-color: rgb(31,42,118); }

 div.DivClassName
 {
   background-color: #1F2A76;
 }
 .BgClassName
 {
   background-color: #1F2A76;
 }
</style>

border-color css

<style>
 span { border-color: #1F2A76; }

 span { border-color: rgb(31,42,118); }

 td.TdClassName
 {
   border-color: #1F2A76;
 }
 .TagClassName
 {
   border-color: #1F2A76;
 }
</style>