Html Css Color HEX #1F2A7D Midnight Blue

📋 copy color: '#1F2A7D'

red 31 ◦ green 42 ◦ blue 125

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

Shades of Midnight Blue #1F2A7D

Tints of Midnight Blue #1F2A7D

RGB

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

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

 BLUE value IS 125 (49.22% from 255) = 63.13%

R = 15.66%
G = 21.21%
B = 63.13%

CMYK

 C value IS 0.75

 M value IS 0.66

 Y value IS 0

 K value IS 0.51

RGB Variations

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

Color information

#1F2A7D (or 0x1F2A7D) is known color: Midnight Blue. HEX triplet: 1F, 2A and 7D. RGB value is (31,42,125). Sum of RGB (Red+Green+Blue) = 31+42+125=198 (26% of max value = 765). Red value is 31 (12.5% from 255 or 15.66% from 198); Green value is 42 (16.80% from 255 or 21.21% from 198); Blue value is 125 (49.22% from 255 or 63.13% from 198); Max value from RGB is 125 - color contains mainly: blue. Hex color #1F2A7D is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2A7D is #E0D582. Grayscale: #2F2F2F. Windows color (decimal): -14734723 or 8202783. OLE color: 8202783.

HSL color Cylindrical-coordinate representation of color #1F2A7D: hue angle of 232.98º degrees, saturation: 0.6, 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 #1F2A7D is Cyan = 0.75, Magento = 0.66, Yellow = 0 and Black (K on CMYK) = 0.51.

Color convert

RGB 31 42 125 -
CMYK 0.75 0.66 0 0.51
HSL 232.98º 0.6% 0.31% -
HSV(B) 232.98º 0.75% 0.49% -
XYZ 5.09 3.43 19.8 -
YUV 48.17 171.36 115.75 -
System Red Green Blue C M Y K H S L
Decimal 31 42 125 0.75 0.66 0 0.51 232.98 0.6 0.31
Hex 1F 2A 7D 4B 42 0 33 E9 3C 1F
Octal 37 52 175 113 102 0 63 351 74 37
Binary 11111 101010 1111101 1001011 1000010 0 110011 11101001 111100 11111

Color Harmonies of #1F2A7D

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #1F2A7D

Black with #1F2A7D

Text Example


Text Example

White with #1F2A7D

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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