Html Css Color HEX #1F2A7B Midnight Blue

📋 copy color: '#1F2A7B'

red 31 ◦ green 42 ◦ blue 123

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

Shades of Midnight Blue #1F2A7B

Tints of Midnight Blue #1F2A7B

RGB

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

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

 BLUE value IS 123 (48.44% from 255) = 62.76%

R = 15.82%
G = 21.43%
B = 62.76%

CMYK

 C value IS 0.75

 M value IS 0.66

 Y value IS 0

 K value IS 0.52

RGB Variations

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

Color information

#1F2A7B (or 0x1F2A7B) is known color: Midnight Blue. HEX triplet: 1F, 2A and 7B. RGB value is (31,42,123). Sum of RGB (Red+Green+Blue) = 31+42+123=196 (25% of max value = 765). Red value is 31 (12.5% from 255 or 15.82% from 196); Green value is 42 (16.80% from 255 or 21.43% from 196); Blue value is 123 (48.44% from 255 or 62.76% from 196); Max value from RGB is 123 - color contains mainly: blue. Hex color #1F2A7B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2A7B is #E0D584. Grayscale: #2F2F2F. Windows color (decimal): -14734725 or 8071711. OLE color: 8071711.

HSL color Cylindrical-coordinate representation of color #1F2A7B: hue angle of 232.83º degrees, saturation: 0.6, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #1F2A7B is Cyan = 0.75, Magento = 0.66, Yellow = 0 and Black (K on CMYK) = 0.52.

Color convert

RGB 31 42 123 -
CMYK 0.75 0.66 0 0.52
HSL 232.83º 0.6% 0.3% -
HSV(B) 232.83º 0.75% 0.48% -
XYZ 4.97 3.38 19.13 -
YUV 47.95 170.36 115.91 -
System Red Green Blue C M Y K H S L
Decimal 31 42 123 0.75 0.66 0 0.52 232.83 0.6 0.3
Hex 1F 2A 7B 4B 42 0 34 E9 3C 1E
Octal 37 52 173 113 102 0 64 351 74 36
Binary 11111 101010 1111011 1001011 1000010 0 110100 11101001 111100 11110

Color Harmonies of #1F2A7B

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #1F2A7B

Black with #1F2A7B

Text Example


Text Example

White with #1F2A7B

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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