Html Css Color HEX #1F2871 Midnight Blue

📋 copy color: '#1F2871'

red 31 ◦ green 40 ◦ blue 113

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

Shades of Midnight Blue #1F2871

Tints of Midnight Blue #1F2871

RGB

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

 GREEN value IS 40 (16.02% from 255) = 21.74%

 BLUE value IS 113 (44.53% from 255) = 61.41%

R = 16.85%
G = 21.74%
B = 61.41%

CMYK

 C value IS 0.73

 M value IS 0.65

 Y value IS 0

 K value IS 0.56

RGB Variations

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

Color information

#1F2871 (or 0x1F2871) is known color: Midnight Blue. HEX triplet: 1F, 28 and 71. RGB value is (31,40,113). Sum of RGB (Red+Green+Blue) = 31+40+113=184 (24% of max value = 765). Red value is 31 (12.5% from 255 or 16.85% from 184); Green value is 40 (16.02% from 255 or 21.74% from 184); Blue value is 113 (44.53% from 255 or 61.41% from 184); Max value from RGB is 113 - color contains mainly: blue. Hex color #1F2871 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2871 is #E0D78E. Grayscale: #2D2D2D. Windows color (decimal): -14735247 or 7415839. OLE color: 7415839.

HSL color Cylindrical-coordinate representation of color #1F2871: hue angle of 233.41º degrees, saturation: 0.57, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #1F2871 is Cyan = 0.73, Magento = 0.65, Yellow = 0 and Black (K on CMYK) = 0.56.

Color convert

RGB 31 40 113 -
CMYK 0.73 0.65 0 0.56
HSL 233.41º 0.57% 0.28% -
HSV(B) 233.41º 0.73% 0.44% -
XYZ 4.3 3 15.98 -
YUV 45.63 166.02 117.56 -
System Red Green Blue C M Y K H S L
Decimal 31 40 113 0.73 0.65 0 0.56 233.41 0.57 0.28
Hex 1F 28 71 49 41 0 38 E9 39 1C
Octal 37 50 161 111 101 0 70 351 71 34
Binary 11111 101000 1110001 1001001 1000001 0 111000 11101001 111001 11100

Color Harmonies of #1F2871

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #1F2871

Black with #1F2871

Text Example


Text Example

White with #1F2871

Text Example


Text Example

HTML Codes & Css Web design

color css

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

 p { color: rgb(31,40,113); }

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

background-color css

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

 a { background-color: rgb(31,40,113); }

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

border-color css

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

 span { border-color: rgb(31,40,113); }

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