Html Css Color HEX #1F217E Midnight Blue

📋 copy color: '#1F217E'

red 31 ◦ green 33 ◦ blue 126

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

Shades of Midnight Blue #1F217E

Tints of Midnight Blue #1F217E

RGB

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

 GREEN value IS 33 (13.28% from 255) = 17.37%

 BLUE value IS 126 (49.61% from 255) = 66.32%

R = 16.32%
G = 17.37%
B = 66.32%

CMYK

 C value IS 0.75

 M value IS 0.74

 Y value IS 0

 K value IS 0.51

RGB Variations

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

Color information

#1F217E (or 0x1F217E) is known color: Midnight Blue. HEX triplet: 1F, 21 and 7E. RGB value is (31,33,126). Sum of RGB (Red+Green+Blue) = 31+33+126=190 (25% of max value = 765). Red value is 31 (12.5% from 255 or 16.32% from 190); Green value is 33 (13.28% from 255 or 17.37% from 190); Blue value is 126 (49.61% from 255 or 66.32% from 190); Max value from RGB is 126 - color contains mainly: blue. Hex color #1F217E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F217E is #E0DE81. Grayscale: #2A2A2A. Windows color (decimal): -14737026 or 8266015. OLE color: 8266015.

HSL color Cylindrical-coordinate representation of color #1F217E: hue angle of 238.74º degrees, saturation: 0.61, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #1F217E is Cyan = 0.75, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.51.

Color convert

RGB 31 33 126 -
CMYK 0.75 0.74 0 0.51
HSL 238.74º 0.61% 0.31% -
HSV(B) 238.74º 0.75% 0.49% -
XYZ 4.87 2.89 20.04 -
YUV 43 174.84 119.44 -
System Red Green Blue C M Y K H S L
Decimal 31 33 126 0.75 0.74 0 0.51 238.74 0.61 0.31
Hex 1F 21 7E 4B 4A 0 33 EF 3D 1F
Octal 37 41 176 113 112 0 63 357 75 37
Binary 11111 100001 1111110 1001011 1001010 0 110011 11101111 111101 11111

Color Harmonies of #1F217E

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #1F217E

Black with #1F217E

Text Example


Text Example

White with #1F217E

Text Example


Text Example

HTML Codes & Css Web design

color css

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

 p { color: rgb(31,33,126); }

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

background-color css

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

 a { background-color: rgb(31,33,126); }

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

border-color css

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

 span { border-color: rgb(31,33,126); }

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